MagicService class
- Implemented types
Constructors
- MagicService.new({required IReownCore core, required PairingMetadata metadata, required FeaturesConfig featuresConfig})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isConnected
→ ValueNotifier<
bool> -
final
-
isFarcasterEnabled
→ ValueNotifier<
bool> -
final
-
isReady
→ ValueNotifier<
bool> -
final
-
isTimeout
→ ValueNotifier<
bool> -
final
-
onMagicConnect
↔ Event<
MagicConnectEvent> -
getter/setter pairoverride-getter
-
onMagicError
↔ Event<
MagicErrorEvent> -
getter/setter pairoverride-getter
-
onMagicLoginRequest
↔ Event<
MagicSessionEvent> -
getter/setter pairoverride-getter
-
onMagicLoginSuccess
↔ Event<
MagicLoginEvent> -
getter/setter pairoverride-getter
-
onMagicRpcRequest
↔ Event<
MagicRequestEvent> -
getter/setter pairoverride-getter
-
onMagicUpdate
↔ Event<
MagicSessionEvent> -
getter/setter pairoverride-getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedMethods
→ Map<
String, List< String> > -
no setteroverride
- webview → WebViewWidget
-
no setteroverride
Methods
-
awaitFarcasterResponse(
) → Future< bool> -
override
-
disconnect(
) → Future< bool> -
override
-
getChainId(
) → Future< String?> -
override
-
getFarcasterUri(
{String? chainId}) → Future< String?> -
override
-
getUser(
{required String? chainId, required bool isUpdate}) → Future< bool> -
override
-
init(
{String? chainId}) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{String? chainId, required SessionRequestParams request}) → Future -
override
-
switchNetwork(
{required String chainId}) → Future< bool> -
override
-
syncTheme(
ReownAppKitModalTheme? theme) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited