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