model_generator 4.3.0 copy "model_generator: ^4.3.0" to clipboard
model_generator: ^4.3.0 copied to clipboard

outdated

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.2.0] - 2021-04-20 #

Added #

  • Support Map support

[4.1.0] - 2021-02-22 #

Added #

  • Support for generatic generics fromJsonT()

[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 #

Added #

  • 100% test coverage
  • Better error logging
  • boolean list support

Updated #

  • Travis scripts
  • Flutter Android Example project to use v2 embedding
  • SDK constraints ">=2.2.0 <3.0.0"

Fixed #

  • Fvm was not always detected correctly
  • Some bugs
  • dynamic list support

[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 #

[2.3.0] - 2020-10-04 #

Added #

  • FVM support

[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 #

Updated #

  • Documentation updated
  • Dependencies updated
  • License

[2.1.2] - 2020-07-24 #

Fixed #

  • Formatting

[2.1.1] - 2020-07-24 #

Fixed #

  • Analyzer

[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 #

BREAKING #

Added #

[1.6.0] - 2020-06-11 #

Added #

[1.5.0] - 2020-05-19 #

Fixed #

  • Major bug when you did not specify object. (object is the default now)

[1.4.1] - 2020-05-18 #

Fixed #

  • Formatting

[1.4.0] - 2020-05-18 #

Added #

  • #19 Enum support you can now use add enums (with values) to your config.yaml

[1.3.0] - 2020-04-22 #

Fixed #

  • #17 path ending with a / would crash your app

[1.2.0] - 2020-04-22 #

Fixed #

  • #13 @JsonKey( ignore: true) should be a variable instead of a final field

[1.1.0] - 2020-02-01 #

Added #

  • #11 option to ignore a field in the json serialization

[1.0.0] - 2020-01-21 #

Fixed #

  • #6 yield is not supported. (keywords are changed to yieldValue the jsonName will still be yield)
  • #7 fixed readme
  • #8 _ should be removed
  • Some extra bugs and a more standard form is used.

[0.4.2] - 2019-10-09 #

Fixed #

  • Fixed import for @required

[0.4.0] - 2019-10-09 #

Added #

  • Named params to the models

[0.3.0] - 2019-10-09 #

Added #

  • Nullable fields added

[0.2.1] - 2019-10-09 #

Fixed #

  • Crash when using keywords

[0.2.0] - 2019-10-09 #

Added #

  • Custom Path

[0.1.0] - 2019-10-09 #

Fixed #

  • Bugfixing for unknown types
  • DateTime supported
  • number supported

[0.0.1] - 2019-09-27 #

Added #

-Initial release

12
likes
0
pub points
59%
popularity

Publisher

verified publishericapps.com

Dart tool to automaticly generate models from a yml file to speed up your development flow.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, meta, path, yaml

More

Packages that depend on model_generator