ApiClient class
Methods
-
checkSubscriptionStatus({required String product, required String token, String callback = "fetchSubscriptionStatus"})
→ Future<Map<String, dynamic>>
-
-
createTenant({required String product, required String username, required String email, required String password, required String first_name, required String last_name, required String name})
→ Future<Map<String, dynamic>?>
-
-
forgotPassword(String email)
→ Future<Map<String, dynamic>?>
-
-
login(String username, String password)
→ Future<Map<String, dynamic>?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
register(String username, String email, String name, String password)
→ Future<Map<String, dynamic>?>
-
-
resetPassword(String token, Map body)
→ Future<Map<String, dynamic>?>
-
-
ssoLogin({required String url, required String scheme, String error = "User have canceled the process"})
→ Future<Map<String, dynamic>>
-
-
startCustomerPortalUrl({required BuildContext context, required String returnUrl, String callback = 'createCustomerPortalURL', required String token})
→ Future<Map<String, dynamic>>
-
-
startFreeTrial({required BuildContext context, required String product, required String success_url, required String cancel_url, String callback = "createFreeTrialSubscription", String? token, String? redirect_url})
→ Future<Map<String, dynamic>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateUserMetadata(String token, Map<String, dynamic> metadata)
→ Future<Map<String, dynamic>?>
-
-
verifyTenant({required String org, required String key})
→ Future<Map<String, dynamic>?>
-