ReactiveNode class

Base class for all reactive nodes in the dependency graph.

ReactiveNode represents a node in the reactive dependency graph that can have dependencies (values it reads from) and subscribers (effects that depend on it). This is the foundation of Jolt's reactive system.

Example:

final node = ReactiveNode(flags: ReactiveFlags.mutable);
node.flags |= ReactiveFlags.dirty;
Implementers

Constructors

ReactiveNode({required int flags, Link? deps, Link? depsTail, Link? subs, Link? subsTail})
Creates a reactive node with the given configuration.

Properties

deps Link?
First dependency link in the chain.
getter/setter pair
depsTail Link?
Last dependency link in the chain.
getter/setter pair
flags int
Reactive flags for this node.
getter/setter pair
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?
First subscriber link in the chain.
getter/setter pair
subsTail Link?
Last subscriber link in the chain.
getter/setter pair

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