goal property

T goal

The goal node of the path.

The path must be isFound for this to be valid.

Implementation

T get goal => nodes.last;