stepBack method
Implementation
void stepBack({
required BuildContext context,
QuestionResult Function()? resultFunction,
}) {
if (onStepBack != null) {
if (!onStepBack!(context, resultFunction)) return;
}
BlocProvider.of<SurveyPresenter>(context).add(
StepBack(
resultFunction != null ? resultFunction.call() : null,
),
);
}