onBeforeStepAdvance method
Async advance hook. Return a result whose type is proceed, proceedWithData, block, skipTo or stay. An empty or missing answer, or an unrecognised type, advances an ordinary step but blocks a sign-in action.
Implementation
Future<Map<String, dynamic>> onBeforeStepAdvance(String flowId, String fromStepId, int stepIndex, String stepType, Map<String, dynamic> responses, Map<String, dynamic>? stepData) async => <String, dynamic>{};