SyncStatus enum

Enum to represent the sync status.

inProgress is emitted at intra-iteration checkpoints (currently: after each batch processed by _syncFromServer / _pushFromSyncQueue) so listeners can observe progress on long syncs without waiting for the iteration to finish. Listeners that only care about terminal events should filter to success / failure.

Inheritance
Available extensions

Values

started → const SyncStatus
notStarted → const SyncStatus
inProgress → const SyncStatus
success → const SyncStatus
failure → const SyncStatus

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.