HashSet.identity constructor - HashSet - dart:collection library (original) (raw)

description

HashSet<E>.identity()

Creates an unordered identity-based set.

Effectively shorthand for:

HashSet<E>(equals: identical, hashCode: identityHashCode)

Implementation

external factory HashSet.identity();