lastOrNullAsync property

FutureOr<T?> get lastOrNullAsync

Implementation

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