The step followed by all the steps of its group, and of their groups, in the order they are shown
List<StepState> get tree => [this, for (StepState child in children) ...child.tree];