W3MSession class
- Available extensions
Constructors
- W3MSession({SessionData? sessionData, CoinbaseData? coinbaseData, MagicData? magicData, SIWESession? siweSession})
-
W3MSession.fromMap(Map<
String, dynamic> map) -
USED TO READ THE SESSION FROM LOCAL STORAGE
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionService → W3MSessionService
-
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> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited