IpcMessageDelta class final

Inheritance

Constructors

IpcMessageDelta(Delta value)
const

Properties

crdtSync CrdtSync?
The CrdtSync if this is one, otherwise null.
no setterinherited
delta Delta?
The Delta if this is one, otherwise null.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
isControl bool
Whether this is a reliable-sync reverse-channel control frame (ResyncRequest / OutboxAck) — no node content, so permission filtering and blob spilling are the identity on it. Mirrors IpcMessage::is_control.
no setterinherited
isCrdtSync bool
no setterinherited
isDelta bool
no setterinherited
isOutboxAck bool
no setterinherited
isResyncRequest bool
no setterinherited
isSnapshot bool
no setterinherited
outboxAck OutboxAck?
The OutboxAck if this is one, otherwise null.
no setterinherited
resyncRequest ResyncRequest?
The ResyncRequest if this is one, otherwise null.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot Snapshot?
The Snapshot if this is one, otherwise null.
no setterinherited
value Delta
final

Methods

encodeJson() Uint8List
UTF-8 JSON bytes of toWire.
inherited
encodeJsonStreaming() Uint8List
Streaming equivalent of encodeJson (#lzdartstreamingjson): builds the JSON via writeJson into a StringBuffer instead of jsonEncode(toWire()), so the intermediate Map<String, Object> (and the inner List/Map allocations for the batch variants) is never materialized.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toWire() Object
The externally-tagged wire shape.
override
writeJson(StringSink sink) → void
Streaming JSON encoder (#lzdartstreamingjson): writes the canonical JSON for this IpcMessage directly into sink, avoiding the intermediate Map<String, Object> that toWire would produce and (for the Snapshot / Delta / CrdtSync variants) recursing into the payload's own writeJson so the per-batch allocations are eliminated too. Byte-identical to jsonEncode(toWire()).
override

Operators

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