equality 1.0.6 copy "equality: ^1.0.6" to clipboard
equality: ^1.0.6 copied to clipboard

' The `equality` package helps you automatically generate `==` and `hashCode` methods for your Dart classes. It simplifies equality checks and hash code calculations, reducing boilerplate code and ens [...]

Equality #

equality is a Dart package that automatically generates == and hashCode methods for your Dart classes. This simplifies equality checks and hash code calculations, reducing boilerplate code and ensuring consistency across your data models.

Features #

  • Automatic Generation: Generates == and hashCode methods for your classes.
  • Consistent and Reliable: Ensures consistent equality checks and hash codes.
  • Reduces Boilerplate: Saves time by eliminating the need to manually write these methods.

Getting Started #

To use the equality package, add it as a dependency in your pubspec.yaml:

dependencies:
  equality: ^1.0.1
0
likes
75
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

' The `equality` package helps you automatically generate `==` and `hashCode` methods for your Dart classes. It simplifies equality checks and hash code calculations, reducing boilerplate code and ensuring consistency across your data models.'

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, build_runner, collection, flutter, json_annotation, source_gen

More

Packages that depend on equality