WalletConnectSession class

Annotations
  • @JsonSerializable.new()

Constructors

WalletConnectSession({required List<String> accounts, String protocol = 'wc', int version = 1, bool connected = false, int chainId = 0, String bridge = '', Uint8List? key, String clientId = '', PeerMeta? clientMeta, String peerId = '', PeerMeta? peerMeta, int handshakeId = 0, String handshakeTopic = '', int networkId = 0, String rpcUrl = ''})
WalletConnectSession.fromJson(Map<String, dynamic> json)
factory
WalletConnectSession.fromUri({required String uri, required String clientId, required PeerMeta clientMeta, List<String>? accounts})
factory

Properties

accounts ↔ List<String>
getter/setter pair
bridge ↔ String
getter/setter pair
chainId ↔ int
getter/setter pair
clientId ↔ String
getter/setter pair
clientMeta ↔ PeerMeta?
getter/setter pair
connected ↔ bool
getter/setter pair
handshakeId ↔ int
getter/setter pair
handshakeTopic ↔ String
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
key ↔ Uint8List?
getter/setter pair
networkId ↔ int
getter/setter pair
peerId ↔ String
getter/setter pair
peerMeta ↔ PeerMeta?
getter/setter pair
protocol ↔ String
getter/setter pair
rpcUrl ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version ↔ int
getter/setter pair

Methods

approve(Map<String, dynamic> params) → void
Approve the session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset the session.
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
toUri() → String
Get the display uri.

Operators

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