lastOrNullAsync property

FutureOr<T?> get lastOrNullAsync

Implementation

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