MutableMetaCell<T> class
A MetaCell pointing to a MutableCell
This class provides a setter for the value property, which allows setting the value of the referenced cell from this MetaCell.
- Inheritance
-
- Object
- ValueCell<
T> - StatefulCell<
T> - MetaCell<
T> - MutableMetaCell
- Implemented types
-
- MutableCell<
T>
- MutableCell<
- Available extensions
- ActionCellEffectExtension
- ActionCellExtension
- ActionMetaCellExtension
- BoolCellExtension
- BoolValueChangeExtension
- CellHolderExtension
- CellMaybeExtension
- ComputeArgumentsTracker
- ComputeExtension
- ConvertStringExtension
- DelayCellExtension
- DurationCellExtension
- EffectCellExtension
- ErrorCellExtension
- IterableCellExtension
- ListCellExtension
- MapCellExtension
- MaybeCellExtension
- MetaCellExtension
- MutableDurationCellExtension
- MutableListCellExtension
- MutableMapCellExtension
- MutableNullCheckExtension
- MutableTransformExtension
- NullCheckExtension
- NumericExtension
- ParseDoubleExtension
- ParseIntExtension
- ParseMaybeDoubleExtension
- ParseMaybeIntExtension
- ParseMaybeNumExtension
- ParseNumExtension
- PeekCellExtension
- PrevValueCellExtension
- SetCellExtension
- StoreCellExtension
- TransformExtension
- ValueChangeExtension
- WaitCellExtension
Constructors
- MutableMetaCell({dynamic key})
Properties
- equalityCellFactory → EqualityCellFactory
-
Return a factory for creating equality and inequality comparison cells.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasState → bool
-
Does this cell have a state?
no setterinherited
- key ↔ dynamic
-
Key which uniquely identifies the cell
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ CellState<
StatefulCell> ? -
The current state of the cell, or null if the cell is inactive.
no setterinherited
- value ↔ T
-
The cell's value
getter/setter pairinherited-getteroverride-setter
Methods
-
addObserver(
CellObserver observer) → void -
Register an observer of the cell to be called when the cell's value changes.
inherited
-
call(
) → T -
Retrieve the value of the cell.
inherited
-
createState(
) → CellState< StatefulCell> -
Create the CellState for this cell.
inherited
-
eq<
U> (ValueCell< U> other) → ValueCell<bool> -
Returns a new ValueCell which compares the value of this cell to another cell for equality.
inherited
-
inject(
covariant MutableCell< T> cell) → void -
Alias of setCell.
override
-
neq<
U> (ValueCell< U> other) → ValueCell<bool> -
Returns a new ValueCell which compares the value of this cell to another cell for inequality.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
) → void -
Track this cell as an argument of the current compute/watch function.
inherited
-
removeObserver(
CellObserver observer) → void -
Remove an observer that was previously registered with addObserver.
inherited
-
setCell(
covariant MutableCell< T> cell) → void -
Set the cell to which this cell points to.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited