updateEmail method

  1. @override
Future<void> updateEmail({
  1. required String value,
})
override

Implementation

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