changeStep method
Change to a new step in the authentication flow.
If reset
is true
, clears temporary form data including username,
password, and user attributes.
Implementation
void changeStep(AuthenticatorStep step, {bool reset = true}) {
_authBloc.add(AuthChangeScreen(step));
/// Clean [ViewModel] when user manually navigates widgets
if (reset) {
_resetAttributes();
}
}