Diving into MultipartRequest
Read moreHow do I upload a file using multipart in Flutter?
There is a static method in MultipartFile class which will be helpful called, fromPath which returns Future. You can add the file in your request body using request. files. add() method.
Read moreHow do I send a file in HTTP Flutter?
dart’ as http;
Read more