shortestPathToRoot property

List<Node<T>> shortestPathToRoot

Returns the shortest path to root (unmodifiable List).

Implementation

List<Node<T>> get shortestPathToRoot =>
    _shortestPathToRoot ??= UnmodifiableListView(resolveShortestPathToRoot());