ComputedReactiveNode<T> class abstract

Base reactive node for computed values.

Stores the getter used to produce the value along with the pending result collected during recomputation.

Example:

class CustomComputedNode<T> extends ComputedReactiveNode<T> {
  CustomComputedNode(super.getter) : super(flags: ReactiveFlags.none);
}
Inheritance

Constructors

ComputedReactiveNode(T getter(), {required int flags, T? pendingValue})

Properties

deps Link?
First dependency link in the chain.
getter/setter pairinherited
depsTail Link?
Last dependency link in the chain.
getter/setter pairinherited
flags int
Reactive flags for this node.
getter/setter pairinherited
getter → T Function()
final
hashCode int
The hash code for this object.
no setterinherited
pendingValue ↔ T?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subs Link?
First subscriber link in the chain.
getter/setter pairinherited
subsTail Link?
Last subscriber link in the chain.
getter/setter pairinherited

Methods

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.
inherited