Link class
A link between a dependent node (dep) and a subscriber node (sub).
Links form doubly-linked lists in both directions:
Constructors
- Link.new({required ReactiveNode dep, required ReactiveNode sub, required int version, Link? prevSub, Link? nextSub, Link? prevDep, Link? nextDep})
-
A bidirectional link between a dependency (
dep
) and subscriber (sub
) node.
Properties
- dep ↔ ReactiveNode
-
The dependency node that sub depends on.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextDep ↔ Link?
-
Next link in the dependency list (nodes that sub depends on).
getter/setter pair
- nextSub ↔ Link?
-
Next link in the subscriber list (nodes that depend on dep).
getter/setter pair
- prevDep ↔ Link?
-
Previous link in the dependency list (nodes that sub depends on).
getter/setter pair
- prevSub ↔ Link?
-
Previous link in the subscriber list (nodes that depend on dep).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sub ↔ ReactiveNode
-
The subscriber node that depends on dep.
getter/setter pair
- version ↔ int
-
The version of the link.
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