SingularityFlutter class
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
singularity_flutter 1.5.8