Connector constructor
Connector({
- String? icon,
- String? id,
- String? name,
- String? type,
- String? uid,
- bool? supportsSimulation,
- dynamic connect({})?,
- void disconnect()?,
- dynamic emitter,
- dynamic getAccounts()?,
- int getChainId()?,
- dynamic getProvider()?,
- bool isAuthorized()?,
- dynamic onAccountsChanged({
- List accounts,
- dynamic onChainChanged({
- int? chain,
- dynamic onConnect({
- dynamic connectionInfo,
- dynamic onDisconnect({
- dynamic error,
- dynamic setup()?,
- dynamic switchChain({
- dynamic addEthereumChainParameter,
- int? chainId,
Implementation
Connector({
this.icon,
this.id,
this.name,
this.type,
this.uid,
this.supportsSimulation,
this.connect,
this.disconnect,
this.emitter,
this.getAccounts,
this.getChainId,
this.getProvider,
this.isAuthorized,
this.onAccountsChanged,
this.onChainChanged,
this.onConnect,
this.onDisconnect,
this.setup,
this.switchChain,
});