uploadFormData method
Uploads form data, including a file, to the server.
endPoint - The API endpoint to which the request is sent.
params - The parameters to include in the request body.
filePath - The path of the file to be uploaded.
headers - The request headers.
Returns a Future containing a Map<String, dynamic> with the response.
Implementation
Future<Map<String, dynamic>> uploadFormData(
String endPoint,
Map<String, dynamic> params,
String filePath,
Map<String, dynamic> headers) =>
_apiManagerImpl.uploadFormData(endPoint, params, filePath, headers);