root property

IndexedNode root
override

Getter to get the root node. If the current node is not a root, then the getter will traverse up the path to get the root.

Implementation

IndexedNode get root => super.root as IndexedNode;