hashCode property

  1. @override
int hashCode
override

A PbMap is equal to another PbMap with equal key/value pairs in any order. Then, the hashCode is guaranteed to be the same.

Implementation

@override
int get hashCode {
  return _wrappedMap.entries
      .fold(0, (h, entry) => h ^ _HashUtils._hash2(entry.key, entry.value));
}