PackageTrack
Sign in Get early access

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 2025
2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. 2.2.0 14 Dec 2025
    Release notes
    • feat: added DataClass.mergeable which generates the merge method to copy the values of another instance into the current instance
    Open source →
  2. 2.1.0 20 Oct 2025
    Release notes
    • chore: bumped min dart version to 3.8.0
    Open source →
  3. 2.0.0 20 Oct 2025
    Release notes
    • feat!: the DataClass.updatable field has been moved to the DataParameter annotation which must be applied to constructor fields
    • feat: added the Unspecified class to support null as a parameter in the copyWith method
    • refactor!: removed class visibility fields, now all *Changes and *Builder classes are public
    • refactor!: removed support for DataClass.createFieldsClass as it is supported by the json_serializable package
    • refactor!: renamed the DataField.comparable field to DataField.comparable
    Open source →
  4. 1.4.1 16 Oct 2025
    Release notes
    • fix: fixed Set equality allowing all keys
    Open source →
  5. 1.4.0 25 Jun 2023
    Release notes

    What's Changed

    • feat: support change *Fields class visibility by DataClass.fieldsClassVisible param 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

    Open source →
    Release notes
    • feat: Added support for *Builder. You can now build your class via a Builder
    Open source →
  6. 1.3.0 10 Jun 2023
    Release notes
    • feat: support change *Fields class visibility by DataClass.fieldsClassVisible param
    Open source →
  7. 1.2.0 10 Jun 2023
    Release notes

    What's Changed

    • feat: You can pass your Equality classes to DataClass(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

    Open source →
    Release notes
    • chore: update class_to_string dependency to 1.0.0
    Open source →
  8. 1.1.0 29 Apr 2023
    Release notes
    • feat: You can pass your Equality classes to DataClass(equalities: [...])
    • chore: Added support for dart 3.0
    Open source →
  9. 1.0.1 18 Feb 2023
    Release notes
    • chore: introduced new api for the generator package
    Open source →
  10. 1.0.0 02 Jan 2023
    Release notes
    • feat: DataField.equality to customize the equal operator and hashcode through the use of the Equality class
    Open source →
  11. 0.2.0 26 Sep 2022
    Release notes
    • Added DataClass.createFieldsClass to create a class that contains the names of the fields of the Data Class
    Open source →
  12. 0.1.0 16 Mar 2022
    Release notes
    • Removed DeepCollectionEquality export in favor of DataClass.$equals method
    Open source →
  13. 0.0.1 20 Feb 2022
    Release notes
    • Initial version.
    Open source →
  14. 0.0.1+1 23 Feb 2022
    Release notes
    • Fix example documentation links
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive