AsyncInvocationFailureContext<T> class

Context information of AsyncOperationFailedCallback to handle failed asynchronous execution result.

Annotations
  • @sealed

Constructors

AsyncInvocationFailureContext.withError(AsyncError error)
Initializes a new instance of AsyncInvocationFailureContext with actually thrown AsyncError.
factory

Properties

error AsyncError
An AsyncError caused asynchronously.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overrideError(T result) → void
Overrides this asynchronous error result with specified result.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited