addFormFile function
Implementation
Future<MultipartFile> addFormFile(String filePath, {String? filename}) async {
return await MultipartFile.fromFile(filePath, filename: filename);
}
Future<MultipartFile> addFormFile(String filePath, {String? filename}) async {
return await MultipartFile.fromFile(filePath, filename: filename);
}