depth property
int
get
depth
The number of groups the step is in
Implementation
int get depth => parent == null ? 0 : parent!.depth + 1;
The number of groups the step is in
int get depth => parent == null ? 0 : parent!.depth + 1;