IndexMap<K, V>.identity constructor

IndexMap<K, V>.identity()

Creates an IndexMap that uses identical and identityHashCode.

Equivalent to:

IndexMap(equals: identical, hashCode: identityHashCode)

Implementation

factory IndexMap.identity() => _IndexMap<K, V>(HashMap.identity());