A custom implemenation of JSON to Dart model class from QuickType.
This project is configure to fit my use case only so the default behavior will be:
toJSON,copyWith and toStringEquatable and JsonSerializeWhen Dart class is generated from json, nullable or non-nullable field are define below.
| Type | Nullable | default value |
|---|---|---|
| String | setting | "" |
| bool | setting | false |
| int | setting | 0 |
| double | setting | 0 |
| Array | never | [] |
| Object | always | null |
| DateTime | always | null |
$ claude mcp add dart-quicktype \
-- python -m otcore.mcp_server <graph>