sendFile method

Future sendFile(
  1. BuildContext context,
  2. String url,
  3. FormData formData, {
  4. Map<String, String>? header,
  5. Function? onProgress,
  6. bool responseData = true,
})

Implementation

Future sendFile(BuildContext context, String url, FormData formData,
    {Map<String, String>? header,
    Function? onProgress,
    bool responseData = true}) {
  return _send(context, 'sendFile', url, header,
      formData: formData, onProgress: onProgress, responseData: responseData);
}