SwitchEthereumChain constructor
SwitchEthereumChain({
- required String chainId,
Implementation
SwitchEthereumChain({
required String chainId,
}) : super(
method: 'wallet_switchEthereumChain',
paramsJson: jsonEncode({
'chainId': chainId,
}),
);