toSetOrNullAsync method

FutureOr<Set<T>?> toSetOrNullAsync()

Implementation

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