updateEmailSecondaryOtp method

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

Implementation

@override
Future<void> updateEmailSecondaryOtp({required String otp}) async {
  if (_emailNotReady) {
    throw Exception('Service is not ready');
  }
  //
  step.value = EmailLoginStep.loading;
  final message = UpdateEmailSecondaryOtp(otp: otp).toString();
  await _webViewController.runJavaScript('sendMessage($message)');
}