depth property

int depth

The depth of the stack.

Implementation

int get depth => _stack?.depth ?? 0 + 1;