toHashSet method
Unordered set. Returns a HashSet, which is faster than LinkedHashSet and consumes less memory.
Implementation
HashSet<T> toHashSet() => HashSet.of(iter);
Unordered set. Returns a HashSet, which is faster than LinkedHashSet and consumes less memory.
HashSet<T> toHashSet() => HashSet.of(iter);