postFormDataInBg method

Future<Map<String, dynamic>> postFormDataInBg(
  1. String endPoint,
  2. Map<String, dynamic> param,
  3. Map<String, dynamic> headers,
  4. IDSMethodType method,
)

Sends a POST request with form data in the background.

endPoint - The API endpoint to which the request is sent. param - The form parameters to include in the request body. headers - The request headers.

Returns a Future containing a Map<String, dynamic> with the response.

Implementation

Future<Map<String, dynamic>> postFormDataInBg(
        String endPoint,
        Map<String, dynamic> param,
        Map<String, dynamic> headers,
        IDSMethodType method) =>
    _apiManagerImpl.postFormDataInBg(endPoint, param, headers, method);