toHashSet method

HashSet<T> toHashSet()

Unordered set. Returns a HashSet, which is faster than LinkedHashSet and consumes less memory.

Implementation

HashSet<T> toHashSet() => HashSet.of(iter);