SyncStore class abstract interface

Persistence contract used by an offline sync manager.

Store implementations must preserve list order because the manager uses strict FIFO processing.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Releases resources held by the store.
initialize() → Future<void>
Prepares the store for reads and writes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAll() → Future<List<SyncOperation>>
Reads the entire queue in FIFO order.
toString() → String
A string representation of this object.
inherited
writeAll(List<SyncOperation> operations) → Future<void>
Atomically replaces the queue when the backing store supports it.

Operators

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