PresetComputed<T> class

Preset computed signal implementation.

Inheritance
Implemented types
Available extensions

Constructors

PresetComputed.new({int flags = 0, required T getter(T? previousValue)})

Properties

cachedValue ↔ T?
getter/setter pair
deps Link?
Head of the dependencies linked list (nodes this node depends on).
getter/setter pairinherited
depsTail Link?
Tail of the dependencies linked list.
getter/setter pairinherited
flags int
Bit flags representing the node's state and properties.
getter/setter pairinherited
getter → T Function(T? previousValue)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs Link?
Head of the subscribers linked list (nodes that depend on this node).
getter/setter pairinherited
subsTail Link?
Tail of the subscribers linked list.
getter/setter pairinherited
value → T

Available on Signal<T>, provided by the SignalDotValueGetter extension

no setter

Methods

call() → T
Returns the current value of the signal.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update() bool

Operators

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