SingularityFlutter class

Constructors

SingularityFlutter(SigularitySDKProtocol protocol)

Properties

delegate SigularitySDKProtocol?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initCallback SingularityInitCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeDrawer() → void
customAuth(String method, String data) → dynamic
drawerCloseCbFunc() → void
getUserInfo() Future<Map<String, dynamic>>
getUserInfoMobile() → dynamic
getWalletConnectConnectionUri() Future<Map<String, dynamic>>
initCbFunc() → void
initializeSingularity(String apiKey, [SingularityInitCallback? callback]) → void
loginCbFunc(String loginData) → void
logoutCbFunc() → void
logoutUser() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDrawer() → void
openLoginScreen({required String key, required Map singularityConfig}) Future<Map>
SingularityFlutter openLoginScreen function to start login flow or open profile page key - provide user key as string singularityConfig - provide configurations details as map In singularityConfig pass environment value as 0 for test and 1 for productiom {"environment":1}
requestPersonalSignature(String message) Future<Map<String, dynamic>>
requestTypedSignature(Map domain, String primaryType, Map types, Map message) Future<Map<String, dynamic>>
signAndSendTransaction(String data) Future<Map<String, dynamic>>
signTransaction(String data) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited
transactionFlow(String txnDataJsonString, String txnDataHash) → dynamic

Operators

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