IDSApiManager class

IDSApiManager

Constructors

IDSApiManager.new()
Constructor initializes the implementation class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getArrayInBg({required String endPoint, required Map<String, dynamic> headers}) Future<List>
Fetches an array response from the given endPoint in a background-friendly manner.
getInBg(String endPoint, Map<String, dynamic> headers) Future<Map<String, dynamic>>
Sends a GET request in the background.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postFormDataInBg(String endPoint, Map<String, dynamic> param, Map<String, dynamic> headers, IDSMethodType method) Future<Map<String, dynamic>>
Sends a POST request with form data in the background.
postFormDataInBgArray(String endPoint, Map<String, dynamic> param, Map<String, dynamic> headers) Future<List>
Sends a POST request with form data in the background.
postInBg(String endPoint, Map<String, dynamic> param, Map<String, dynamic> headers) Future<Map<String, dynamic>>
Sends a POST request in the background.
sendFormEncodedRequest({required String endPoint, required Map<String, dynamic> param, required Map<String, dynamic> headers, IDSMethodType method = IDSMethodType.post}) Future
Sends a form URL-encoded HTTP request through the internal API manager.
sendFormRequest({required String endPoint, required Map<String, dynamic> param, required Map<String, dynamic> headers, IDSMethodType method = IDSMethodType.post}) Future
Sends a form-encoded HTTP request to the specified API endpoint.
sendRequest({required String endPoint, required Map<String, dynamic> param, required Map<String, dynamic> headers, IDSMethodType method = IDSMethodType.post}) Future
Sends an HTTP request to the specified API endpoint.
toString() String
A string representation of this object.
inherited
uploadFormData(String endPoint, Map<String, dynamic> params, String filePath, Map<String, dynamic> headers) Future<Map<String, dynamic>>
Uploads form data, including a file, to the server.
uploadMultiPartFormData({required String endPoint, required Map<String, dynamic> payloadParams, required Map<String, dynamic>? fileUploads, required Map<String, dynamic> headers, required IDSMethodType method}) Future<Map<String, dynamic>>
Uploads form data, including multiple files, to the server.

Operators

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