-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
field initializer and argument type not assignable #35
Comments
Same issue |
Could you please provide some example code? |
@passsy please check this: |
Hey @SeanZom This is what you need
|
Hi @jigarfumakiya , that helps, thanks. FYI, I can find the explanation of those 2 rules on: https://dart.dev/tools/diagnostic-messages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got massive errors from the analyzer includes:
argument_type_not_assignable
field_initializer_not_assignable
Most of them are from the
Map<String, dynamic> json
parsing to a model class.I tried to turn them off in the
analysis_options.yaml
, but it didn't help.The text was updated successfully, but these errors were encountered: