WCSessionRequestResponse class

A response containing session information.

Annotations
  • @JsonSerializable()

Constructors

WCSessionRequestResponse({required bool approved, required int? chainId, required List<String> accounts, required String? peerId, required PeerMeta? peerMeta})
WCSessionRequestResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accounts List<String>
final
approved bool
final
chainId int?
final
hashCode int
The hash code for this object.
no setterinherited
peerId String?
final
peerMeta PeerMeta?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status SessionStatus
Get the status of the session;
no setter

Methods

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

Operators

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