mek_data_class 1.4.0 copy "mek_data_class: ^1.4.0" to clipboard
mek_data_class: ^1.4.0 copied to clipboard

Generate `hashCode`, `==`, `toString`, `copyWith` and `change` methods with low code

1.4.0 #

  • feat: Added support for *Builder. You can now build your class via a Builder

1.3.0 #

  • feat: support change *Fields class visibility by DataClass.fieldsClassVisible param

1.2.0 #

  • chore: update class_to_string dependency to 1.0.0

1.1.0 #

  • feat: You can pass your Equality classes to DataClass(equalities: [...])
  • chore: Added support for dart 3.0

1.0.1 #

  • chore: introduced new api for the generator package

1.0.0 #

  • feat: DataField.equality to customize the equal operator and hashcode through the use of the Equality class

0.2.0 #

  • Added DataClass.createFieldsClass to create a class that contains the names of the fields of the Data Class

0.1.0 #

  • Removed DeepCollectionEquality export in favor of DataClass.$equals method

0.0.1+1 #

  • Fix example documentation links

0.0.1 #

  • Initial version.
13
likes
150
points
5.58k
downloads

Publisher

unverified uploader

Weekly Downloads

Generate `hashCode`, `==`, `toString`, `copyWith` and `change` methods with low code

Homepage
Repository (GitHub)
View/report issues

Topics

#data-class #build-runner #codegen

Documentation

API reference

License

MIT (license)

Dependencies

class_to_string, collection, meta

More

Packages that depend on mek_data_class