firstOrNullAsync property

FutureOr<T?> get firstOrNullAsync

Implementation

FutureOr<T?> get firstOrNullAsync =>
    then((itr) => itr != null ? IterableExtensions(itr).firstOrNull : null);