firstOrNull property

Future<T?> get firstOrNull

Implementation

Future<T?> get firstOrNull => take(1).fold<T?>(null, (_, element) => element);