Why convert JSON to Dart?
Hand-writing Dart model classes for Flutter apps is repetitive. Paste a sample JSON document
above and get null-safe classes with fromJson factories and toJson methods, ready to
use with dart:convert.
How it works
The converter parses your JSON locally and generates one class per object with final
fields and a named-parameter constructor. Arrays become List<T>, nested objects become
their own classes, and original keys are kept in the fromJson/toJson maps even when
the Dart field name is camelCased. No packages or build_runner required.