MethodCallbacks class

Constructors

MethodCallbacks({required AsyncTransactionCallback onSignTransaction, required AsyncSwitchNetworkCallback onSwitchNetwork, AsyncAddNetworkCallback? onAddNetwork, required AsyncSignMessage onSignMessage, required AsyncSignMessage onSignPersonalMessage, required AsyncSignTypeMessage onSignTypeMessage, AsyncEcRecover? onEcRecover, AsyncWatchAsset? onWatchAsset})

Properties

hashCode int
The hash code for this object.
no setterinherited
onAddNetwork AsyncAddNetworkCallback?
wallet_addEthereumChain
getter/setter pair
onEcRecover AsyncEcRecover?
personal_ecRecover
getter/setter pair
onSignMessage AsyncSignMessage
onSignMessage: title: 'signTypeMessage', 'signMessage', 'signPersonalMessage' message
getter/setter pair
onSignPersonalMessage AsyncSignMessage
personal_sign
getter/setter pair
onSignTransaction AsyncTransactionCallback
eth_sendTransaction
getter/setter pair
onSignTypeMessage AsyncSignTypeMessage
  • eth_signTypedData_v4
  • eth_signTypedData, eth_signTypedData_v3 @Deprecated
  • getter/setter pair
    onSwitchNetwork AsyncSwitchNetworkCallback
    wallet_switchEthereumChain
    getter/setter pair
    onWatchAsset AsyncWatchAsset?
    wallet_watchAsset
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    Methods

    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited