FutureNonNullOnErrorExtension<T extends Object> extension

on

Methods

nullOnError({FutureOr<void> onError(Object e, StackTrace s)?, AsyncExtensionErrorLogger? errorLogger, bool logError = true}) Future<T?>

Available on Future<T>, provided by the FutureNonNullOnErrorExtension extension

Returns this Future value or null 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<T>, provided by the FutureNonNullOnErrorExtension extension

Calls onSuccess or onError when this Future completes.