HashMap<K, V>.identity constructor

HashMap<K, V>.identity()

Creates an unordered identity-based map.

Effectively a shorthand for:

new HashMap<K, V>(equals: identical,
                  hashCode: identityHashCode)

Implementation

external factory HashMap.identity();