changeNetwork method

Future<void> changeNetwork(
  1. String chainId,
  2. String address
)

Implementation

Future<void> changeNetwork(String chainId, String address) async {
  await serviceRoot.webView!.evalJavascript(
      'walletConnect.updateSession({address: "$address", chainId: $chainId})');
}