Good evening, in my dapp browser app, when the user requests a chain id change, i use to reload the page, but i found out that it is possible to change chain id without reloading the browser, basically emitting an event the user can pick up as
ethereum.on('chainChanged', (chainId) => {});
the question is how can i emit this event in my flutter dapp browser?. how i execute javascript from webview
await _controller.evaluateJavascript(
source:'Wallet.executeCallback($id, "$error",null);');