awaitFarcasterResponse method

  1. @override
Future<bool> awaitFarcasterResponse()
override

Implementation

@override
Future<bool> awaitFarcasterResponse() async {
  if (_socialsNotReady) {
    throw Exception('Service is not ready');
  }
  //
  _connectFarcaster = Completer<bool>();
  // final message = ConnectFarcaster().toString();
  // await _webViewController.runJavaScript('sendMessage($message)');
  return await _connectFarcaster.future;
}