UnwrapFuture<T> extension
- on
-
- Future<
T?>
- Future<
Methods
-
unwrapWith(
T alternative) → Future< T> -
Available on Future<
Unwraps a Future that may contain a null value by providing an alternative value. If the original Future resolves to a non-null value, that value is returned. If it resolves to null, the provided alternative value is returned instead.T?> , provided by the UnwrapFuture extension