Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: The parameter 'author' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'. #58

Open
drsimplegraffiti opened this issue Jun 27, 2022 · 1 comment

Comments

@drsimplegraffiti
Copy link

Error: The parameter 'author' can't have a value of 'null' because of its type 'String', but the implicit default value is 'null'.

Got this error on lesson 18 when i tried using the class to create the quote blueprint

@agada-nathan
Copy link

class Quote{
String? text;
String? author;
Quote({this.text, this.author});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants