IMagicService class abstract

Implementers

Constructors

IMagicService()

Properties

email ValueNotifier<String>
no setter
hashCode int
The hash code for this object.
no setterinherited
isConnected ValueNotifier<bool>
no setter
isEmailEnabled ValueNotifier<bool>
no setter
isReady ValueNotifier<bool>
no setter
isSocialEnabled ValueNotifier<bool>
no setter
isTimeout ValueNotifier<bool>
no setter
newEmail ValueNotifier<String>
no setter
onCompleteSocialLogin Event<CompleteSocialLoginEvent>
final
onMagicConnect Event<MagicConnectEvent>
final
onMagicError Event<MagicErrorEvent>
final
onMagicLoginRequest Event<MagicSessionEvent>
final
onMagicLoginSuccess Event<MagicLoginEvent>
final
onMagicRpcRequest Event<MagicRequestEvent>
final
onMagicUpdate Event<MagicSessionEvent>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
socials List<AppKitSocialOption>
no setter
step ValueNotifier<EmailLoginStep>
no setter
supportedMethods Map<String, List<String>>
no setter
webview → WebViewWidget
no setter

Methods

awaitFarcasterResponse() Future<bool>
completeSocialLogin({required String url}) → void
connectEmail({required String value, String? chainId}) Future<void>
connectOtp({required String otp}) Future<void>
connectSocial({required String uri}) Future
disconnect() Future<bool>
getChainId() Future<String?>
getFarcasterUri({String? chainId}) Future<String?>
getSocialRedirectUri({required AppKitSocialOption provider, String? schema, String? chainId}) Future<String?>
getUser({required String? chainId, required bool isUpdate}) Future<bool>
init({String? chainId}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request({String? chainId, required SessionRequestParams request}) Future
setEmail(String value) → void
setNewEmail(String value) → void
setProvider(AppKitSocialOption? provider) → void
switchNetwork({required String chainId}) Future<bool>
syncTheme(ReownAppKitModalTheme? theme) Future<void>
toString() String
A string representation of this object.
inherited
updateEmail({required String value}) Future<void>
updateEmailPrimaryOtp({required String otp}) Future<void>
updateEmailSecondaryOtp({required String otp}) Future<void>

Operators

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