Closed bugnano closed 2 years ago
Just for context: Dart considers 2 objects to be equal if they point to the same memory location, unless you override the operator ==. The only problem is that if you override the operator ==, Dart requires you to override the hashCode as well.
Just for context: Dart considers 2 objects to be equal if they point to the same memory location, unless you override the operator ==. The only problem is that if you override the operator ==, Dart requires you to override the hashCode as well.