AGCStorageTask<T extends AGCStorageTaskResult> class abstract

Implementers

Properties

exception AGCStorageException?
Task exception. Not null when task state is canceled or failure.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCanceled bool
Indicates whether a task is canceled.
no setter
isComplete bool
Indicates whether a task is complete. Task success, failure or cancel are considered as completion.
no setter
isInProgress bool
Indicates whether a task is being executed.
no setter
isPaused bool
Indicates whether a task is suspended.
no setter
isSuccessful bool
Indicates whether a task is successful.
no setter
result → T?
Current result of the task. Not null when task state is progress, paused or success.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() Future<bool>
Cancels the current task.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent() Stream<void>
pause() Future<bool>
Suspends the current task.
resume() Future<bool>
Continues the current task.
toString() String
A string representation of this object.
inherited
whenComplete() Future<void>
Waits until whether a task is completed. Task success, failure or cancel are considered as completion.

Operators

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