updateEmailSecondaryOtp method

  1. @override
Future<void> updateEmailSecondaryOtp({
  1. required String otp,
})
override

Implementation

@override
Future<void> updateEmailSecondaryOtp({required String otp}) async {
  if (!isEnabled.value || !isReady.value) return;
  step.value = EmailLoginStep.loading;
  final message = UpdateEmailSecondaryOtp(otp: otp).toString();
  await _webViewController.runJavaScript('sendW3Message($message)');
}