PresentingSurveyState constructor

const PresentingSurveyState({
  1. required int stepCount,
  2. required Step currentStep,
  3. required List<Step> steps,
  4. required Set<StepResult> questionResults,
  5. StepResult? result,
  6. int currentStepIndex = 0,
  7. bool isPreviousStep = false,
})

Implementation

const PresentingSurveyState({
  required this.stepCount,
  required this.currentStep,
  required this.steps,
  required this.questionResults,
  this.result,
  this.currentStepIndex = 0,
  this.isPreviousStep = false,
});