Goal<T>.node constructor
- T node
Creates a goal that matches a specific node.
The first node that matches Object.== of node
is considered the goal.
Implementation
const factory Goal.node(T node) = _NodeGoal<T>;
Creates a goal that matches a specific node.
The first node that matches Object.== of node
is considered the goal.
const factory Goal.node(T node) = _NodeGoal<T>;