core/services/api
library
core
Properties
-
routes
↔ Map<String, dynamic>
-
Routs of api for requests
getter/setter pair
Functions
-
getPermissionNotification(BuildContext context, {String? id})
→ Future
-
get permission notification function
-
getPermissionNotificationWithoutCtx({BuildContext? context, String? id})
→ Future
-
get permission notification without ctx function
-
registerForGetToken(BuildContext context, {Map<String, dynamic>? formValue})
→ Future
-
register for get token function
-
registerForGetTokenWithoutCtx({BuildContext? context, Map<String, dynamic>? formValue})
→ Future
-
register for get token without ctx function
-
subscribeApi(BuildContext context, {List<String>? items})
→ Future
-
subscribe api function
-
subscribeApiWithoutCtx({BuildContext? context, List<String>? items})
→ Future
-
subscribe api without ctx function
-
unStashApi(BuildContext context)
→ Future
-
unStash api function
-
unStashApiWithoutCtx({BuildContext? context})
→ Future
-
unStash api without ctx function
-
unsubscribeApi(BuildContext context, {List<String>? items})
→ Future
-
unsubscribe api function
-
unsubscribeApiWithoutCtx({BuildContext? context, List<String>? items})
→ Future
-
unsubscribe api without ctx function
-
uploadImage(BuildContext context, {FormData? formData, Function? onProgress})
→ Future
-
upload image with form data