onChainChanged method

dynamic onChainChanged(
  1. void callback(
    1. int chainId
    )
)

Implementation

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