json_model_mapper 0.0.1
json_model_mapper: ^0.0.1 copied to clipboard
A simple annotation package used to mark model classes for code generation. Designed to work with the `json_model_mapper_gen` generator package to create immutable data models automatically.
0.0.1 #
- 🎉 Initial release of
json_model_mapper. - Add
@JsonModelMapper()annotation to mark Dart classes for model generation. - Generate full model files like
user_model.dartwithout.g.dartandpartusage. - Support smart naming convention:
user.dart➝user_model.dart
- Add support for nullable types and primitive types.
- Add support for basic custom class recognition (if also annotated).
- Include utility methods in generated model:
fromJsontoMaptoString,==,hashCode
- Add header to all generated files:
// GENERATED CODE - YOU CAN USE THIS CODE AS YOUR PROJECT CODE // For issues, report to: example@gmail.com