DeltaOp class sealed

One incremental operation in a Delta (protocol.md § DeltaOp variants).

All variants are externally tagged. DeltaOpNodeAdd carries the optional wire-stable NodeKey (omitted from JSON when null).

Implementers

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
targetReadable(PeerPermissions permissions, PeerId peer) bool
Whether the peer may read every node this op names. Ops targeting an unreadable node are omitted from a permission-filtered delta.
toString() String
A string representation of this object.
inherited
toWire() Object

Operators

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

Static Methods

cellSet(NodeId node, Object payload) DeltaOp
edgeAdd(NodeId dependent, NodeId dependency) DeltaOp
edgeRemove(NodeId dependent, NodeId dependency) DeltaOp
fromWire(Object? value) DeltaOp
invalidate(NodeId node) DeltaOp
nodeAdd(NodeId node, String typeTag, NodeState state, {NodeKey? key}) DeltaOp
nodeRemove(NodeId node) DeltaOp
slotValue(NodeId node, Object payload) DeltaOp