initClient method
Implementation
void initClient(
String uri,
String address,
int chainId, {
Map? cachedSession,
}) {
if (cachedSession != null) {
serviceRoot.webView!.evalJavascript(
'walletConnect.reConnectSession(${jsonEncode(cachedSession)})');
} else {
serviceRoot.webView!.evalJavascript(
'walletConnect.initConnect("$uri", "$address", $chainId)');
}
}