mapHash<K, V> function

int mapHash<K, V>(
  1. Map<K, V> m
)

Combined hash for a map's entries.

Implementation

int mapHash<K, V>(Map<K, V> m) =>
    Object.hashAll(m.entries.map((e) => Object.hash(e.key, e.value)));