ReactiveNode class abstract

A node in a reactive system that tracks dependencies and subscribers.

The ReactiveNode maintains two linked lists:

  • deps/depsTail tracks dependencies (nodes this node depends on)
  • subs/subsTail tracks subscribers (nodes that depend on this node)

The flags property stores various state flags for the node.

Implementers

Constructors

ReactiveNode.new({Link? deps, Link? depsTail, Link? subs, Link? subsTail, required int flags})
Creates a new ReactiveNode with the given dependencies, subscribers, and flags.

Properties

deps Link?
Head of the dependencies linked list (nodes this node depends on).
getter/setter pair
depsTail Link?
Tail of the dependencies linked list.
getter/setter pair
flags int
Bit flags representing the node's state and properties.
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?
Head of the subscribers linked list (nodes that depend on this node).
getter/setter pair
subsTail Link?
Tail of the subscribers linked list.
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