NoneCell<T> class

A stateless cell which evaluates to ValueCell.none().

The purpose of the type argument T is to allow this cel to be used where a ValueCell with a specific type is expected. Otherwise the type argument has no effect on its functionality, since it never returns a value.

Inheritance
Available extensions

Constructors

NoneCell()
const

Properties

equalityCellFactory EqualityCellFactory
Return a factory for creating equality and inequality comparison cells.
no setterinherited
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The cell's value
no setteroverride

Methods

addObserver(CellObserver observer) → void
Register an observer of the cell to be called when the cell's value changes.
override
call() → T
Retrieve the value of the 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
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.
override
toString() String
A string representation of this object.
inherited

Operators

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