CellSync class
A specialized Cell that provides a default implementation for the Cell interface.
This class serves as a base for creating reactive cells with customizable properties. It includes:
- Default implementations for apply, deputy, and unmodifiable
- Support for linking and synapses
- A test object for validation
- A receptor for signal processing
- Implemented types
- Implementers
Constructors
-
CellSync.new({Cell? bind, Receptor<
Cell, Signal, Signal> receptor = Receptor.unchanged, TestObject<Cell> test = TestObject.passed, Synapses<Signal, Cell> synapses = Synapses.enabled}) - Creates a new CellSync with optional binding and configuration
- CellSync.fromProperties(Properties properties)
- Creates a new CellSync from existing properties.
Properties
-
async
→ CellAsync<
Cell> -
Creates an async variant for modifiable operations
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
-
modifiable
→ Iterable<
Function> -
Returns an iterable containing modifiable functions.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
test
→ TestObject<
Cell> -
Gets the test object associated with the cell.
no setteroverride
- unmodifiable → Cell
-
Creates an unmodifiable view of this cell.
no setteroverride
Methods
-
apply(
Function function, List? positionalArguments, [Map< Symbol, dynamic> ? namedArguments]) → dynamic -
Applies a function with controlled validation.
override
-
deputy(
{covariant TestObject< Cell> ? test, covariant MapObject? mapObject}) → Cell -
Creates an Deputy cell from an existing Cell instance with reduced permissions.
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 -
The equality operator.
override