toSetAsync method

FutureOr<Set<T>> toSetAsync()

Implementation

FutureOr<Set<T>> toSetAsync() => then((itr) => itr.toSet());