Json to Dart Model extension can convert JSON objects into Dart data classes. It supports pure Dart class conversion, Flutter-recommended JSON serialization using annotations, Freezed support, Effective Dart:Style, and many more features. Currently, it has more than 135,000 installs.
Is there an existing issue for this?
Current Behavior
Models created that contain a JsonKey produce the following lint warning.
This is fixed by adding
To the top of the file.
Expected Behavior
No lint warning
Steps To Reproduce
Version
Relevant JSON syntax
Anything else?
No response