toSetOrNullAsync method

Future<Set<T>?> toSetOrNullAsync()

Implementation

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