toSet method

Set<T> toSet()

Convert iterable to set

Implementation

Set<T> toSet() => Set.from(this!);