configure method
Implementation
@override
Step configure() {
if (_steps.isEmpty) return Skipped();
final List<AtomicStep> atomicSteps = [];
for (Step step in _steps) {
while (!(step is AtomicStep)) {
step = step.configure();
}
atomicSteps.add(step);
}
AtomicStep step = atomicSteps.first;
for (int i = 0; i < atomicSteps.length - 1; i++) {
if (i >= atomicSteps.length - 1) {
continue;
}
step.next = atomicSteps[i + 1];
step = step.next!;
}
return atomicSteps.first;
}