- Add a config for
ignore_for_file
- implement List
- do cast convert for fromMap
- add a ci template
- Due to the null-aware operator '?.' is unnecessary. replacing the operator '?.' with '.'
- add const to constructor if usesEquatable
- fix null-safe syntax of Map
Added support for enums Use factory constructors instead of static methods for json serialization
Added support for value equality on Lists
, Maps
and Sets
.
Class fields can now also be declared after the constructor. Minor improvements.
Fixed some bugs.
Added support for equatable by setting dart_data_class_generator.useEquatable to true.
Changed setting dart_data_class_generator.constructor
to dart_data_class_generator.constructor.enabled
Changed setting dart_data_class_generator.copyWith
to dart_data_class_generator.copyWith.enabled
Changed setting dart_data_class_generator.toMap
to dart_data_class_generator.toMap.enabled
Changed setting dart_data_class_generator.fromMap
to dart_data_class_generator.fromMap.enabled
Changed setting dart_data_class_generator.toJson
to dart_data_class_generator.toJson.enabled
Changed setting dart_data_class_generator.fromJson
to dart_data_class_generator.fromJson.enabled
Changed setting dart_data_class_generator.toString
to dart_data_class_generator.toString.enabled
Changed setting dart_data_class_generator.equality
to dart_data_class_generator.equality.enabled
Changed setting dart_data_class_generator.hashCode
to dart_data_class_generator.hashCode.enabled
Added quick fixes.
Added support for @required annotation.
Changed the default hashCode implementation to bitwise operator.
Initial release (Beta).