Conditional constructor

const Conditional({
  1. required bool condition,
  2. required Step child,
})

Implementation

const Conditional({required this.condition, required this.child})
  : super(
      name: "Configure by condition",
      description:
          "Decide based on the condition if the returned Step is a SkippedStep or the child.",
    );