nextStep method
Implementation
void nextStep(
BuildContext context,
QuestionResult Function() resultFunction,
) {
if (onNextStep != null) {
if (!onNextStep!(context, resultFunction)) return;
}
BlocProvider.of<SurveyPresenter>(context).add(
NextStep(
resultFunction.call(),
),
);
}