Link constructor
Link({
- 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.
Links form doubly-linked lists in both directions:
prevSub/nextSubform the subscriber list (nodes that depend ondep)prevDep/nextDepform the dependency list (nodes thatsubdepends on)
Implementation
Link({
required this.dep,
required this.sub,
required this.version,
this.prevSub,
this.nextSub,
this.prevDep,
this.nextDep,
});