A derived signal that computes its value from other signals.
Computed values automatically update when their dependencies change and cache their results until needed again.
- Inheritance
- Implemented types
Properties
- currentValue ↔ T?
-
The current computed value, may be null.
getter/setter pairoverride
- deps ↔ Link?
-
The head of this subscriber's dependency linked list.
getter/setter pairinherited
- depsTail ↔ Link?
-
The tail of this subscriber's dependency linked list.
getter/setter pairinherited
- flags ↔ int
-
Bit flags indicating the subscriber's current state.
See SubscriberFlags for possible values.
getter/setter pairinherited
- 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?
-
The head of the subscriber linked list.
getter/setter pairinherited
- subsTail ↔ Link?
-
The tail of the subscriber linked list.
getter/setter pairinherited
Methods
-
call(
) → T -
Gets the current computed value.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → bool - Updates subscribers if the computed value has changed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited