talkjs / talkjs-flutter

Flutter SDK for the TalkJS Chat API
https://talkjs.com
BSD 3-Clause "New" or "Revised" License
9 stars 14 forks source link

Update the deprecated hashing functions. #18

Closed bugnano closed 2 years ago

bugnano commented 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.