Step constructor

Step({
  1. String? id,
  2. required List<Content> content,
  3. bool isMandatory = true,
  4. AnswerFormat? answerFormat,
  5. String? buttonText,
  6. StepShell? stepShell,
})

Implementation

Step({
  String? id,
  required this.content,
  this.isMandatory = true,
  this.answerFormat,
  this.buttonText,
  this.stepShell,
}) : id = id ?? const Uuid().v4();