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:
equatable
integrationfreezed
integrationnullable
fields option
- Automatic renaming of output
.json
files 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
.dart
inputs 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
freezed
support - π§° 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