connectEmail method

  1. @override
Future<void> connectEmail({
  1. required String value,
  2. String? chainId,
})
override

Implementation

@override
Future<void> connectEmail({required String value, String? chainId}) async {
  if (!isEnabled.value || !isReady.value) return;
  _connectionChainId = chainId ?? _connectionChainId;
  final message = ConnectEmail(email: value).toString();
  await _webViewController.runJavaScript('sendW3Message($message)');
}