-
Notifications
You must be signed in to change notification settings - Fork 402
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 out of the language version of the target package is <3.0.0 #1462
Comments
What version of Dart do you have? this is generating using new language features. |
It's a little bit complex workflow as this is run on some CI but used inside a different project, so I'm not 100% sure. I can see this in pubspec
let me try bumping it to For now changing the json_serializable from |
Facing the same issue
|
@MakSinroja – I belive you need to bump the min SDK version of your package to I'll add a check for this in the generator. |
Same issue, any fix for this? |
@adar2378 – you need to bump your MIN Dart SDK to |
Thanks, updating dart sdk contraint and flutter clean fixed it for me |
It seems that a recent change in the generated code was a change from
writeNotNull
to records.But this change results in an error:
The text was updated successfully, but these errors were encountered: