toISet method

ISet<T> toISet()

Convert this iterator into an ISet.

Implementation

ISet<T> toISet() => ISet(toIterable());