ReownAppKitModalSession class

Session object of the modal when connected

Available extensions

Constructors

ReownAppKitModalSession({SessionData? sessionData, CoinbaseData? coinbaseData, MagicData? magicData, SIWESession? siweSession})
ReownAppKitModalSession.fromMap(Map<String, dynamic> map)
USED TO READ THE SESSION FROM LOCAL STORAGE
factory

Properties

acknowledged bool?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
chainId String

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
connectedWalletName String?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
controller String?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
email String

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
expiry int?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
namespaces Map<String, Namespace>?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
pairingTopic String?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
peer ConnectionMetadata?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
relay Relay?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self ConnectionMetadata?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
sessionService ReownAppKitModalConnector
Indicates the connected service
no setter
socialProvider AppKitSocialOption?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
topic String?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter
userName String

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

no setter

Methods

copyWith({SessionData? sessionData, CoinbaseData? coinbaseData, MagicData? magicData, SIWESession? siweSession}) ReownAppKitModalSession
getAccounts({String? namespace}) List<String>?
getAddress(String namespace) String?

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

getApprovedChains({String? namespace}) List<String>?
getApprovedEvents({String? namespace}) List<String>?
getApprovedMethods({String? namespace}) List<String>?
getSessionRedirect() Redirect?
hasSwitchMethod() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

USED TO STORE THE SESSION IN LOCAL STORAGE
toRawJson() Map<String, dynamic>

Available on ReownAppKitModalSession, provided by the ReownAppKitModalSessionExtension extension

toString() String
A string representation of this object.
inherited

Operators

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