onPressed method
The button's onPressed
callback.
Implementation
@override
void onPressed(BuildContext context, AuthenticatorState state) {
final authState =
InheritedAuthBloc.of(context).currentState as AttributeVerificationSent;
state.confirmVerifyUser(authState.userAttributeKey);
}