Add HashCodeBuilder to help developers build hash codes #3597
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-duplicate
Closed in favor of an existing report
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Dart objects don't implement Hashable by default. It is left up to the developer to implement Hashable and provide a sensible hashcode. This can be error-prone if not understood. However, there are well known hash code generation strategies.
Suggest the Dart library ship with a hashcode builder to facilitate the correct strategy for generating a hashcode.
The text was updated successfully, but these errors were encountered: