tree property

List<StepState> get tree

The step followed by all the steps of its group, and of their groups, in the order they are shown

Implementation

List<StepState> get tree => [this, for (StepState child in children) ...child.tree];