isCurrentStepRequired property

bool get isCurrentStepRequired

Checks if the current step is required.

Returns:

  • A boolean value indicating if the current step is required.

Implementation

bool get isCurrentStepRequired {
  if (currentStep.stepType == SurveyStepType.preparation) {
    return false;
  }
  return currentStep.isRequired;
}