W3MSession class
- Available extensions
Constructors
- W3MSession.new({SessionData? sessionData, CoinbaseData? coinbaseData, MagicData? magicData, SIWESession? siweSession})
-
W3MSession.fromMap(Map<
String, dynamic> map) -
USED TO READ THE SESSION FROM LOCAL STORAGE
factory
Properties
- acknowledged → bool?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - address → String?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - chainId → String
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - connectedWalletName → String?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - controller → String?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - email → String
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - expiry → int?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
namespaces
→ Map<
String, Namespace> ? -
Available on W3MSession, provided by the W3MSessionExtension extension
no setter -
optionalNamespaces
→ Map<
String, RequiredNamespace> ? -
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - pairingTopic → String?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - peer → ConnectionMetadata?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - relay → Relay?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter -
requiredNamespaces
→ Map<
String, RequiredNamespace> ? -
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- self → ConnectionMetadata?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter -
sessionProperties
→ Map<
String, String> ? -
Available on W3MSession, provided by the W3MSessionExtension extension
no setter - sessionService → W3MSessionService
-
no setter
- topic → String?
-
Available on W3MSession, provided by the W3MSessionExtension extension
no setter
Methods
-
copyWith(
{SessionData? sessionData, CoinbaseData? coinbaseData, MagicData? magicData, SIWESession? siweSession}) → W3MSession -
getAccounts(
) → List< String> ? -
getApprovedChains(
) → List< String> ? -
getApprovedEvents(
) → List< String> ? -
getApprovedMethods(
) → 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 W3MSession, provided by the W3MSessionExtension extension
USED TO STORE THE SESSION IN LOCAL STORAGE -
toRawJson(
) → Map< String, dynamic> -
Available on W3MSession, provided by the W3MSessionExtension extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited