model_generator 4.3.0 model_generator: ^4.3.0 copied to clipboard
Dart tool to automaticly generate models from a yml file to speed up your development flow.
Changelog #
[4.3.0] - 2021-04-20 #
Added #
- Added support for adding extra annotations and imports
- Added support for generating == and hashCode
- Added support for generating toString
[4.0.0] - 2021-02-09 #
Added #
- Support for generating models with nullsafety support to support Flutter 2.0 & dart 2.12 ###Removed
- nullsafe flag is removed because from this version we are targeting 2.12 which will use nullsafety by default
[3.3.0] - 2020-10-24 #
[3.2.0] - 2020-10-14 #
Added #
- Parameter and command line to specify your own config.yaml (#16 Thanks to NicolaChimerapps)
[3.1.0] - 2020-10-13 #
Added #
- Added support for importing other dart packages when using path (Thanks to NicolaChimerapps)
- Added support for json_converter (#43 Thanks to NicolaChimerapps)
[3.0.0] - 2020-10-06 #
Breaking Change #
- renamed includeIfNull to include_if_nul to keep a consistent api
Added #
- Added unknown_enum_value support (#44 Thanks to DimmyMaenhout)
- Added non_final support (#34 Thanks to NicolaChimerapps)
[2.2.0] - 2020-10-04 #
Added #
- Travis CI support (badge)
- Coveralls test coverage support (badge) (no test yet issue #38)
- MIT license (badge)
- Support for custom base_directory (Thanks to JeremiFerre)
- Support for dynamic dart type (Thanks to JeremiFerre)
- Support for includeIfNull annotation property (Thanks to DimmyMaenhout)
Fixed #
- The removed .g.dart files (Thanks to JeremiFerre)
Updated #
- Documentation updated
- Dependencies updated
- License
[2.1.0] - 2020-07-24 #
Added #
- #26 supprot for custom objects
- #28 support for custom fromJson & toJson objects
[2.0.0] - 2020-06-11 #
[1.6.0] - 2020-06-11 #
Added #
- Custom jsonKey support (Thanks to NicolaChimerapps)
[1.5.0] - 2020-05-19 #
Fixed #
- Major bug when you did not specify object. (object is the default now)
[1.4.0] - 2020-05-18 #
Added #
- #19 Enum support you can now use add enums (with values) to your config.yaml
[1.2.0] - 2020-04-22 #
Fixed #
- #13 @JsonKey( ignore: true) should be a variable instead of a final field