postFormDataInBg abstract method
Sends a POST request with form data in the background.
This method is used to send application/x-www-form-urlencoded
form data.
Parameters:
endPoint
: The API endpoint to which the form data will be sent.param
: A map of key-value pairs to be included in the form data.headers
: A map of headers to include in the request.
Returns:
- A
Future
that resolves to aMap<String, dynamic>
representing the server's response.
Implementation
Future<Map<String, dynamic>> postFormDataInBg(
String endPoint,
Map<String, dynamic> param,
Map<String, dynamic> headers,
IDSMethodType method);