StorageSnapshot class final

Everything a device has stored.

Constructors

StorageSnapshot({StoredMeta? meta, List<RecordSnapshot> snapshots = const [], List<Map<String, Object?>> ops = const [], List<OpId> outbox = const []})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
meta → StoredMeta?
final
ops → List<Map<String, Object?>>
Every op the device holds (its own and received), in the wire format.
final
outbox → List<OpId>
Ids of local ops not yet acknowledged by the server.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshots → List<RecordSnapshot>
Compacted records: their state with older ops folded away (ADR-0008). Loaded before ops.
final

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