EntitySyncOutbox<M extends SyncMutation> class final

Generic outbox over SyncQueue for a single entityType.

Constructors

EntitySyncOutbox({required String entityType, required M fromSyncOperation(SyncOperation)})

Properties

entityType → String
final
fromSyncOperation → M Function(SyncOperation)
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearPending() → Future<void>
enqueue(M mutation) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pending() → Future<List<M>>
readOperations() → Future<List<SyncOperation>>
removeApplied(Iterable<String> operationIds) → Future<void>
replaceOperations(List<SyncOperation> ops) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

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