ReactiveSystem class abstract
Abstract reactive system for managing dependency tracking.
ReactiveSystem defines the core interface for managing reactive dependencies, updates, and notifications in the reactive graph.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkDirty(
Link theLink, ReactiveNode sub) → bool - Checks if a node is dirty and needs updating.
-
isValidLink(
Link checkLink, ReactiveNode sub) → bool - Checks if a link is still valid for a subscriber.
-
link(
ReactiveNode dep, ReactiveNode sub, int version) → void - Links a dependency to a subscriber in the reactive graph.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
ReactiveNode sub) → void - Notifies a subscriber that it needs to update.
-
propagate(
Link theLink) → void - Propagates changes through the reactive graph.
-
shallowPropagate(
Link theLink) → void - Shallow propagates changes without deep recursion.
-
toString(
) → String -
A string representation of this object.
inherited
-
unlink(
Link link, [ReactiveNode? sub]) → Link? - Unlinks a dependency from a subscriber.
-
unwatched(
ReactiveNode sub) → void - Handles when a node is no longer being watched.
-
update(
ReactiveNode sub) → bool - Updates a reactive node and returns true if changed.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited