postFormDataInBgArray abstract method
Sends a POST request with form data in the background, expecting a list response.
This method is similar to postFormDataInBg
but expects the server to return
a list of items.
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 aList<dynamic>
representing the server's response.
Implementation
Future<List<dynamic>> postFormDataInBgArray(String endPoint,
Map<String, dynamic> param, Map<String, dynamic> headers);