hashCode property
Deep hashCode.
A BuiltSetMultimap
is only equal to another BuiltSetMultimap
with
equal key/values pairs in any order. Then, the hashCode
is guaranteed
to be the same.
Implementation
@override
int get hashCode {
_hashCode ??= hashObjects(_map.keys
.map((key) => hash2(key.hashCode, _map[key].hashCode))
.toList(growable: false)
..sort());
return _hashCode!;
}