You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using Dart 3 and have specified these options in analysis_options.yaml, running the flutter analyze command will be treated as a warning.
The analysis_options.yaml in the Dart code generated by openapi-generator contains these options, so you need to migrate and fix it so that it does not contain these options.
openapi-generator version
6.4.0
Related issues/PRs
It could not be discovered on its own.
Suggest a fix
I am not familiar with the openapi-generator implementation, so this is inaccurate, but you should probably just modify the code in this section according to the migration guide.
https:// dart.dev/resources/dart-3-migration#analyzer-config
Bug Report Checklist
Description
Analyzer configuration options changed in Dart 3, removing the
implicit-casts
andimplicit-dynamic
options.https://dart.dev/resources/dart-3-migration#analyzer-config
If you are using Dart 3 and have specified these options in
analysis_options.yaml
, running theflutter analyze
command will be treated as a warning.The
analysis_options.yaml
in the Dart code generated by openapi-generator contains these options, so you need to migrate and fix it so that it does not contain these options.openapi-generator version
6.4.0
Related issues/PRs
It could not be discovered on its own.
Suggest a fix
I am not familiar with the openapi-generator implementation, so this is inaccurate, but you should probably just modify the code in this section according to the migration guide.
https:// dart.dev/resources/dart-3-migration#analyzer-config
openapi-generator/modules/openapi-generator/src/main/resources/dart/libraries/dio/analysis_options.mustache
Lines 5 to 7 in b4eb9a4
The text was updated successfully, but these errors were encountered: