mek_data_class
Generate `hashCode`, `==`, `toString`, `copyWith`, `change` methods and `Builder` class with low code
2.2.0
13K downloads/mo
#2589 most downloaded on pub.dev
BreX900/data_class
What this package is like to depend on
Last release 8 months ago
14 Dec 2025
Ships unpredictably
gaps range from 2 weeks to 2.3 years
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
14 releases · first in 2022
4 releases in the last 12 months
see the full history below
Release timeline
14 releases · Feb 2022 to Dec 2025Releases
latest 14-
2.2.014 Dec 2025Release notes
Open source →- feat: added
DataClass.mergeablewhich generates themergemethod to copy the values of another instance into the current instance
- feat: added
-
2.1.020 Oct 2025 -
2.0.020 Oct 2025Release notes
Open source →- 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
- feat!: the
-
1.4.116 Oct 2025 -
1.4.025 Jun 2023Release notes
Open source →What's Changed
- feat: support change
*Fieldsclass visibility byDataClass.fieldsClassVisibleparam by @SimoneBressan in #23 - Builder. Build your class via builder! by @SimoneBressan in #24
Full Changelog: mek_data_class_generator-v1.3.1...mek_data_class-v1.4.0
Release notes
Open source →- feat: Added support for
*Builder. You can now build your class via a Builder
- feat: support change
-
1.3.010 Jun 2023Release notes
Open source →- feat: support change
*Fieldsclass visibility byDataClass.fieldsClassVisibleparam
- feat: support change
-
1.2.010 Jun 2023Release notes
Open source →What's Changed
- feat: You can pass your
Equalityclasses toDataClass(equalities: [...])by @BreX900 in #15 - build(mek_data_class): release 1.1.0 by @SimoneBressan in #16
- Sealed classes, toString null values and lint warning by @SimoneBressan in #21
Full Changelog: mek_data_class-v1.0.1...mek_data_class-v1.2.0
- feat: You can pass your
-
1.1.029 Apr 2023Release notes
Open source →- feat: You can pass your
Equalityclasses toDataClass(equalities: [...]) - chore: Added support for dart
3.0
- feat: You can pass your
-
1.0.118 Feb 2023 -
1.0.002 Jan 2023Release notes
Open source →- feat:
DataField.equalityto customize the equal operator and hashcode through the use of the Equality class
- feat:
-
0.2.026 Sep 2022Release notes
Open source →- Added
DataClass.createFieldsClassto create a class that contains the names of the fields of the Data Class
- Added
-
0.1.016 Mar 2022Release notes
Open source →- Removed
DeepCollectionEqualityexport in favor ofDataClass.$equalsmethod
- Removed
-
0.0.120 Feb 2022 -
0.0.1+123 Feb 2022