DeliveryStore class abstract

Persistence backend for the offline delivery queue.

The default is InMemoryDeliveryStore. For disk durability, use JsonDeliveryStore with load/save callbacks (e.g. file or shared_preferences).

Implementers

Constructors

DeliveryStore()

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

load() Future<List<QueuedEntry>>
Loads every pending entry (order preserved).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(List<QueuedEntry> entries) Future<void>
Replaces the stored queue with entries.
toString() String
A string representation of this object.
inherited

Operators

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