nextStep method
Implementation
void nextStep(
BuildContext context,
StepResult? stepResult,
) {
if (onNextStep != null) {
onNextStep!(context, stepResult);
return;
}
SurveyStateProvider.of(context).onEvent(
NextStep(
stepResult,
),
);
}