depth property

int depth

The depth of this node in the tree.

The depth of nodes in a tree monotonically increases as you traverse down the tree.

Implementation

int get depth => _depth;