backTo method

String backTo(
  1. BuildContext context,
  2. AuthenticatorStep previousStep
)

Label of button to return to the Sign In step.

Implementation

String backTo(BuildContext context, AuthenticatorStep previousStep) {
  return AuthenticatorLocalizations.buttonsOf(
    context,
  ).backTo(previousStep.name);
}