changeNetworkV2 method

Future<Map> changeNetworkV2(
  1. String chainId,
  2. String address
)

Implementation

Future<Map> changeNetworkV2(String chainId, String address) async {
  final Map res = await serviceRoot.webView!.evalJavascript(
      'walletConnect.updateSessionV2({address: "$address", chainId: "$chainId"})');
  return res;
}