ReactiveSystem class abstract

A reactive system base class.

Constructors

ReactiveSystem.new()
Creates a new reactive system.
const

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 checkLink, ReactiveNode sub) bool
Checks if a node or any of its dependencies are dirty and need updating.
Creates a bidirectional link between a dependency node (dep) and a subscriber node (sub).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(ReactiveNode sub) → void
Notifies the system that the node has changed and needs to be processed.
propagate(Link link) → void
Propagates changes through the reactive graph starting from the given link.
shallowPropagate(Link link) → void
Propagates changes shallowly through the reactive graph starting from link.
toString() String
A string representation of this object.
inherited
Removes a bidirectional link between a dependency node and subscriber node.
unwatched(ReactiveNode sub) → void
Called when a node no longer has any subscribers watching it.
update(ReactiveNode sub) bool
Updates the node's value if it's dirty and returns whether it was updated.

Operators

operator ==(Object other) bool
The equality operator.
inherited