MemoryDraft class final
The document a writer proposes before the store assigns the next revision.
The draft carries everything the committed envelope will carry except MemoryEnvelope.revision and MemoryEnvelope.updatedAt — the store assigns both inside its atomic section, through MemoryCas.decide.
Constructors
Properties
- codec → String
-
The codec name.
final
- codecVersion → int
-
The codec version.
final
- expiresAt → DateTime?
-
The expiry stamp, when a
ttlis configured.final - generation → String?
-
The generation to carry. Null on a create — the store mints one
inside the atomic section; updates must carry the baseline
generation.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The record id.
final
-
meta
→ Map<
String, Object?> ? -
Open extension map.
final
- payload → Object?
-
The JSON-compatible payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceCellId → String?
-
The domain cell id, refreshed on every write.
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