nextStepItem property

SurveyStep? get nextStepItem

Returns the next step in the survey, or null if the current step is the last step.

Implementation

SurveyStep? get nextStepItem {
  return isLastStep ? null : steps[currentStepIndex + 1];
}