CloudMediaStatus enum

The sync status of a CloudMediaItem.

Items transition through these states: pending → processing → syncing → synced

On failure: syncing → failed On deletion: synced → deleted

Inheritance
Available extensions

Values

pending → const CloudMediaStatus

Item selected but not yet queued for upload.

processing → const CloudMediaStatus

Item is being compressed or thumbnails are being generated.

syncing → const CloudMediaStatus

Item is currently uploading to Firebase Storage.

synced → const CloudMediaStatus

Item has been successfully uploaded and synced.

failed → const CloudMediaStatus

Upload failed. Will retry automatically when connectivity returns.

deleted → const CloudMediaStatus

Item has been soft-deleted.

Properties

displayName String

Available on CloudMediaStatus, provided by the CloudMediaStatusExtension extension

Human-readable display name for this status.
no setter
hashCode int
The hash code for this object.
no setterinherited
icon IconData

Available on CloudMediaStatus, provided by the CloudMediaStatusExtension extension

Icon representing this status.
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
isFinal bool

Available on CloudMediaStatus, provided by the CloudMediaStatusExtension extension

True if this status is a terminal state (no further transitions expected).
no setter
isUploading bool

Available on CloudMediaStatus, provided by the CloudMediaStatusExtension extension

True if the item is currently being uploaded.
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
statusColor(BuildContext context) Color

Available on CloudMediaStatus, provided by the CloudMediaStatusExtension extension

Theme-aware color representing this status.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

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