FutureNonNullOnErrorExtension<T extends Object> extension
- on
-
- Future<
T>
- Future<
Methods
-
nullOnError(
{FutureOr< void> onError(Object e, StackTrace s)?, AsyncExtensionErrorLogger? errorLogger, bool logError = true}) → Future<T?> -
Available on Future<
Returns this Future value orT> , provided by the FutureNonNullOnErrorExtension extensionnull
if it throws an error. -
onComplete(
{required FutureOr< void> onSuccess(T r), required FutureOr<void> onError(Object e, StackTrace s), AsyncExtensionErrorLogger? errorLogger, bool logError = true}) → Future<T?> -
Available on Future<
CallsT> , provided by the FutureNonNullOnErrorExtension extensiononSuccess
oronError
when this Future completes.