dataforge_cli 0.6.4
dataforge_cli: ^0.6.4 copied to clipboard
A Dart code generator that forges data classes with JSON serialization support from annotated classes.
0.6.2 #
Changed #
- Make generated
copyWithimplementation classes public (e.g.,_ClassNameCopyWith->ClassNameCopyWith). - Make
copyWithclass constructors public to allow instantiation across files for nestedcopyWithsupport.
0.6.1-dev.1 #
Changed #
- Refined
copyWithsingle-field update methods to use internalcall()method, ensuring all fields are correctly preserved.
0.6.1-dev.0 #
- copyWith Null Handling: Improved null handling for non-nullable primitive types
- Provides default values instead of throwing
TypeErrorwhen null is passed
- Provides default values instead of throwing
0.6.0 #
- Documentation: Complete CLI documentation in README
- Added installation and usage instructions
- Performance comparison with build_runner
- Debug mode documentation
- Stable release with all features from 0.6.0-dev.x
0.6.0-dev.4 #
- Optimize generated code performance by adding
@pragma('vm:prefer-inline').
0.6.0-dev.2 #
- Bump version.
0.6.0-dev.1 #
- Fix
readObjectcall arguments to pass value directly instead of map and key.
0.6.0-dev.0 #
- Refine nested
copyWithAPI: use chained getter syntax (e.g.,.$address.street) and remove flat accessor syntax.
0.2.0 #
- Chained copyWith support
- Support for fromJson and toJson hooks
0.1.0 #
- Initial release of data_class_gen