AsyncOperationStatus enum

Represents status of asynchronous operation.

Inheritance

Constructors

AsyncOperationStatus()
const

Values

initial → const AsyncOperationStatus

FutureInvoker is initialized, but any asynchronous operations have not been started yet.

inProgress → const AsyncOperationStatus

The asynchronous operation is in progress. Note that there may be pending additional request on queue.

completed → const AsyncOperationStatus

Some asynchronous operations have been completed, and last one was completed successfully, so the FutureInvoker will return cached last operation result for identical parameter value.

failed → const AsyncOperationStatus

Some asynchronous operations have been completed, and last one was failed with error, so the FutureInvoker will throw AsyncError which was thrown by last operation for identical parameter value.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AsyncOperationStatus>
A constant List of the values in this enum, in order of their declaration.