json_model_gen 0.0.8
json_model_gen: ^0.0.8 copied to clipboard
A Dart tool to generate model classes from JSON with fromJson, toJson, copyWith, and equality overrides.
0.0.1 #
- Initial release: generate Dart model from JSON
0.0.2 #
- format code
0.0.3 #
- documentation commands
0.0.4 #
- formatted
0.0.5 #
- Added support for both CLI flags and interactive prompts.
- Supports generation of Dart models with:
equatableintegrationfreezedintegrationnullablefields option
- Automatic renaming of output
.jsonfiles to.dart. - Class name validation enforcing PascalCase.
- Detects and confirms before overwriting existing output files.
๐ Enhancements #
- Improved error handling for:
- Missing input file
- Invalid JSON content
- Clear warnings for
.dartinputs that contain raw JSON. - Added file-level and function-level documentation comments.
0.0.6 #
- ๐ Added a clean and beginner-friendly
README.md - ๐ Included installation instructions using
dart pub add - ๐งช Mentioned post-install steps for
freezedsupport - ๐งฐ Improved package documentation for easier onboarding
0.0.7 #
- Enhance README.md with improved structure and clarity
0.0.8 #
- Changed proper github repo link