UploadStatus enum
Represents the possible lifecycle states of an upload task.
- Inheritance
- Available extensions
Values
- enqueued → const UploadStatus
-
The task is waiting in the queue to be processed.
- running → const UploadStatus
-
The task is actively uploading data.
- paused → const UploadStatus
-
The task is temporarily paused (e.g. user requested or waiting for network).
- failed → const UploadStatus
-
The task failed due to an error, but might still be retried if attempts remain.
- completed → const UploadStatus
-
The task has successfully uploaded and verified by the server.
- cancelled → const UploadStatus
-
The task was explicitly cancelled by the user.
Properties
- canPause → bool
-
Available on UploadStatus, provided by the UploadStatusX extension
Whether the task can be paused.no setter - canResume → bool
-
Available on UploadStatus, provided by the UploadStatusX extension
Whether the task can be resumed.no setter - displayName → String
-
Available on UploadStatus, provided by the UploadStatusX extension
Human-readable label for UI.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isInProgress → bool
-
Available on UploadStatus, provided by the UploadStatusX extension
Whether the task is currently active or pending execution.no setter - isTerminal → bool
-
Available on UploadStatus, provided by the UploadStatusX extension
Whether the task has finished (either success, cancellation, or fatal failure).no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
UploadStatus> - A constant List of the values in this enum, in order of their declaration.