toListSet method
Ordered set which is also a list. Returns a ListSet, which has the same performance and needs less memory than a LinkedHashSet, but can't change size.
Implementation
ListSet<T> toListSet() => ListSet.of(iter);
Ordered set which is also a list. Returns a ListSet, which has the same performance and needs less memory than a LinkedHashSet, but can't change size.
ListSet<T> toListSet() => ListSet.of(iter);