CloudSyncStatus enum
User-facing cloud-sync state. Combines queue depth, last-success timestamp, and cloud-upload consent into a single bucket the host can render as a pill.
- synced — queue empty, at least one successful upload this process. "Everything is in the cloud."
- syncing — queue has rows. "Uploading…"
- pending — queue empty but no successful upload yet (cold start, or first session before token + first window). "Will sync as soon as something is ready."
- localOnly — cloud-upload consent is off. "By your choice, nothing leaves the device."
Values
- synced → const CloudSyncStatus
- syncing → const CloudSyncStatus
- pending → const CloudSyncStatus
- localOnly → const CloudSyncStatus
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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<
CloudSyncStatus> - A constant List of the values in this enum, in order of their declaration.