depth property

int? depth

The number of parent nodes between this node and the root of the tree.

Implementation

int? get depth => _depth;