onChainChanged method
Implementation
onChainChanged(void Function(int chainId) callback) =>
impl.on('networkChanged', allowInterop(callback));
onChainChanged(void Function(int chainId) callback) =>
impl.on('networkChanged', allowInterop(callback));