mek_data_class 2.0.0
mek_data_class: ^2.0.0 copied to clipboard
Generate `hashCode`, `==`, `toString`, `copyWith`, `change` methods and `Builder` class with low code
2.0.0 #
- feat!: the
DataClass.updatablefield has been moved to theDataParameterannotation which must be applied to constructor fields - feat: added the
Unspecifiedclass to supportnullas a parameter in thecopyWithmethod - refactor!: removed class visibility fields, now all
*Changesand*Builderclasses are public - refactor!: removed support for
DataClass.createFieldsClassas it is supported by thejson_serializablepackage - refactor!: renamed the
DataField.comparablefield toDataField.comparable
1.4.1 #
- fix: fixed Set equality allowing all keys
1.4.0 #
- feat: Added support for
*Builder. You can now build your class via a Builder
1.3.0 #
- feat: support change
*Fieldsclass visibility byDataClass.fieldsClassVisibleparam
1.2.0 #
- chore: update
class_to_stringdependency to1.0.0
1.1.0 #
- feat: You can pass your
Equalityclasses toDataClass(equalities: [...]) - chore: Added support for dart
3.0
1.0.1 #
- chore: introduced new api for the generator package
1.0.0 #
- feat:
DataField.equalityto customize the equal operator and hashcode through the use of the Equality class
0.2.0 #
- Added
DataClass.createFieldsClassto create a class that contains the names of the fields of the Data Class
0.1.0 #
- Removed
DeepCollectionEqualityexport in favor ofDataClass.$equalsmethod
0.0.1+1 #
- Fix example documentation links
0.0.1 #
- Initial version.