hashCode property

  1. @override
int get 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),
  );
}