This package can be used to generate dart classes from a JSON string. It might be handy for large JSON with multiple entities you'd like to capture in a class.

Features

The package will create additional classes for every Map<String, dynamic> entry

Getting started

Use json_generator_annotations package to annotate your JSON String with @JsonClass. Add this package (json_generator) as a dev_dependency Then use dart run build_runner build

Usage

After the classes have been generated, you can freely modify them, such as make fields nullable etc.