toSet method

Set<T> toSet()

Returns a mutable LinkedHashSet containing the same elements as this set.

Implementation

Set<T> toSet() => _set.toSet();