depth property

int depth
inherited

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;