WalletConnectProviderOptions class

Option for creating WalletConnectProvider.

Annotations
  • @JS()
  • @anonymous

Constructors

WalletConnectProviderOptions({String? infuraId, dynamic rpc, String? bridge, bool? qrCode, String? network, int? chainId, int? networkId, QrcodeModalOptions? qrcodeModalOptions})
Required one of infuraId or rpc to be not null.
factory

Properties

bridge String?
no setter
chainId int?
Main network chain id.
no setter
hashCode int
The hash code for this object.
no setterinherited
infuraId String?
The infuraId will support the following chainId's: Mainnet (1), Ropsten (3), Rinkeby(4), Goerli (5) and Kovan (42).
no setter
network String?
Main network name.
no setter
qrCode bool?
Whether to enable QR Code modal
no setter
qrcodeModalOptions QrcodeModalOptions?
no setter
rpc → dynamic
The RPC URL mapping should be indexed by chainId and it requires at least one value.
no setter
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