IDSApiManagerInterface class abstract
IDSApiManagerInterface
- Implementers
Constructors
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
-
getArrayRequest(
{required String endPoint, required Map< String, dynamic> headers}) → Future -
Sends a GET request to the specified
endPoint
and expects the response as an array (list). -
getInBg(
String endPoint, Map< String, dynamic> headers) → Future<Map< String, dynamic> > - Sends a GET request in the background to the specified endpoint.
-
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, expecting a list response.
-
postInBg(
String endPoint, Map< String, dynamic> param, Map<String, dynamic> headers) → Future<Map< String, dynamic> > - Sends a POST request in the background with the given parameters and headers.
-
sendFormEncodedRequest(
{required String endPoint, required Map< String, dynamic> param, required Map<String, dynamic> headers, IDSMethodType method = IDSMethodType.post}) → Future - Sends an HTTP request with form URL-encoded parameters.
-
sendFormRequest(
{required String endPoint, required Map< String, dynamic> param, required Map<String, dynamic> headers, IDSMethodType method = IDSMethodType.post}) → Future - Sends an HTTP request with form-encoded data.
-
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
endPoint
with givenparam
andheaders
. -
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 a file along with additional form data to the specified endpoint.
-
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 data using multipart/form-data to the specified endpoint.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited