UnmodifiableValueCell<V> class

A specialized read‑only proxy of a ValueCell that enforces immutability.

This is what you get from ValueCell.unmodifiable. It blocks any mutation attempts while still being a live, reactive participant in the graph.

When to use

You get this automatically via unmodifiable. You don't construct it directly.

How it works

It shares the same Box and lock as the principal, but its testRule is set to TestCell.readOnly, so any mutation is rejected.

Inheritance
Implemented types
Available extensions

Properties

async → ValueCellAsync<V>
Returns a specialized asynchronous controller for this ValueCell, providing thread‑safe and serialized state access.
no setterinherited
context → Context
The operational Context defining the forensic identity, administrative authority, and causal lineage of this specific Cell handle.
no setterinherited
hashCode → int
Returns a hash code for this Cell derived from its Root Genotypic Identity.
no setterinherited
isGoverned → bool
Indicates whether this node is subject to active Administrative Oversight or specialized Lifecycle Governance.
no setterinherited
isInvalidated → bool
Indicates whether this Cell has initiated its Automatic Termination sequence and is currently in the process of being neutralized.
no setterinherited
isTerminal → bool
A boolean indicator identifying whether this Cell acts as a Processing Sink within the reactive topology.
no setterinherited
lock → Lock?
The synchronization Lock owned by this cell's nucleus.
no setterinherited
modifiable → Iterable<Function>
Defines the exhaustive whitelist of functions and commands authorized for execution on this node via the dynamic apply method.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unmodifiable → ValueCell<V>
Returns itself – it's already the most restrictive view.
no setteroverride
validate → TestCell<Cell>
Layers TestCell.readOnly atop the principal's integrity gate.
latefinal
value ↔ V?
Retrieves the current state, projecting any nested Cell as unmodifiable.
getter/setter pairoverride

Methods

apply<R>(ApplyCommand command, {ApplyTransactionScope? tx}) → FutureOr<ApplyOutcome<R>>
Submits an ApplyCommand to trigger a state change or an action within this cell.
inherited
command(Function function) → ApplyCommandRunner

Available on Cell, provided by the ApplyCommandDSL extension

Begins assembling a command that invokes function on this cell.
deputy({EphemeralPolicy<Cell>? ephemeralPolicy, covariant DeputyContext context = DeputyContext.system, covariant TestCell<Cell> testRule = TestCell.allowAll, Synapses<Pulse, Cell> synapses = Synapses.enabled}) → FutureOr<ValueCell<V>>
Returns itself for any parameter set.
override
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
Determines logical identity between two Cell nodes within the reactive graph.
inherited