A Dart package to generate Dart models from json schema.
- Json Schemas should be in the
jsondirectory. - Run
setup.shto generate the models. - Generated models will be in the
lib/modelsdirectory.
- Generate models from json schema.
- Types covered:
string,number,integer,double,boolean,array,object,enum. - Supports
requiredandnullablefields. - Generates
fromJsonandtoJsonmethods for each model. - Generates
copyWithmethod for each model.