WCClient constructor

WCClient({
  1. SessionRequest? onSessionRequest,
  2. SocketError? onFailure,
  3. SocketClose? onDisconnect,
  4. EthSign? onEthSign,
  5. EthTransaction? onEthSignTransaction,
  6. EthTransaction? onEthSendTransaction,
  7. WalletSwitchNetwork? onWalletSwitchNetwork,
  8. CustomRequest? onCustomRequest,
  9. dynamic onConnect()?,
})

Implementation

WCClient({
  this.onSessionRequest,
  this.onFailure,
  this.onDisconnect,
  this.onEthSign,
  this.onEthSignTransaction,
  this.onEthSendTransaction,
  this.onWalletSwitchNetwork,
  this.onCustomRequest,
  this.onConnect,
});