Provides source_gen Generator
s to create code for JSON serialization and
deserialization.
The core package providing Generators for JSON-specific tasks.
Import it into your pubspec dev_dependencies:
section.
The annotation package which has no dependencies.
Import it into your pubspec dependencies:
section.
An example showing how to setup and use json_serializable
and
json_annotation
.