firstOrNullAsync property

Future<T?> get firstOrNullAsync

Implementation

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