SyncStatus enum

Synchronization state of a single record in the sync metadata store.

Each locally-persisted record transitions through these states as the SyncStrategy processes it:

stateDiagram-v2
    [*] --> pending: create/update/delete (local write)
    pending --> syncing: sync triggered
    syncing --> synced: remote confirms success
    syncing --> pending: remote fails (retry < max)
    syncing --> failed: retries exhausted
Inheritance
Available extensions

Values

pending → const SyncStatus

Written locally, not yet pushed to remote.

syncing → const SyncStatus

Currently being transmitted to remote.

synced → const SyncStatus

Successfully transmitted to remote.

failed → const SyncStatus

Transmission failed after maximum retries.

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<SyncStatus>
A constant List of the values in this enum, in order of their declaration.