We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that a recent change in the generated code was a change from writeNotNull to records.
writeNotNull
But this change results in an error:
get_generated_doc_report_urls_api.g.dart:19:41: Error: Expected ')' before this.
The text was updated successfully, but these errors were encountered:
What version of Dart do you have? this is generating using new language features.
Sorry, something went wrong.
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
sdk: ">=2.16.1 <3.0.0"
let me try bumping it to >3.2.0.
>3.2.0
For now changing the json_serializable from ^6.0.0 to e.g. 6.6.2 will fix it.
^6.0.0
6.6.2
Facing the same issue
Error: Expected ')' before this.
@MakSinroja – I belive you need to bump the min SDK version of your package to ^3.0.0
^3.0.0
I'll add a check for this in the generator.
No branches or pull requests
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: