FutureMaybe<T extends Object> extension
Provides functions for working with asynchronous Maybe
s.
See Maybe for working with synchronous Maybe
s.
- on
-
- Future<
T?>
- Future<
Methods
-
pipe<
R> (FutureOr< R?> function(T value)) → Future<R?> -
Returns a Future<R?> if this
Future
does not complete as null. Otherwise returns aFuture
that completes as null.