1
resposta

[Bug] codigo não funciona

bin/models_account.dart:4:3: Error: 'class' can't be used as an identifier because it's a keyword.
Try renaming this to be an identifier that isn't a keyword.
  class Account {
  ^^^^^
bin/models_account.dart:4:3: Error: Expected ';' after this.
  class Account {
  ^^^^^
bin/models_account.dart:4:3: Error: Undefined name 'class'.
  class Account {
  ^^^^^
bin/models_account.dart:4:9: Error: Expected ';' after this.
  class Account {
        ^^^^^^^
bin/models_account.dart:4:9: Error: Undefined name 'Account'.
  class Account {
        ^^^^^^^
bin/models_account.dart:10:17: Error: Expected ',' before this.
      {required this.name,
                ^^^^
bin/models_account.dart:10:17: Error: Expected identifier, but got 'this'.
      {required this.name,
                ^^^^
bin/models_account.dart:11:18: Error: Expected ',' before this.
        required this.balance,
                 ^^^^
bin/models_account.dart:11:18: Error: Expected identifier, but got 'this'.
        required this.balance,
                 ^^^^
bin/models_account.dart:12:18: Error: Expected ',' before this.
        required this.isAuthenticated});
                 ^^^^

Process finished with exit code 254
1 resposta

Conseguiu resolver? Caso contrário, poste o seu código.