Path<T> constructor
- List<
T> nodes
Creates a path from a list of nodes.
The list of nodes should be in the order they were visited, from the start node to the goal node, inclusive. Ownership of the list should be considered transferred to the path and no longer modified.
Implementation
const Path(this.nodes);