HashSet<E>.identity constructor Null safety
Creates an unordered identity-based set.
Effectively a shorthand for:
new HashSet<E>(equals: identical,
hashCode: identityHashCode)
Implementation
external factory HashSet.identity();