for (int i = 0; i < imgs.length; i++) { request.files.add( await http.MultipartFile.fromPath('photos[$i]', imgs[i].toString()), ); }
for (int i = 0; i < imgs.length; i++) { request.files.add( await http.MultipartFile.fromPath('photos[$i]', imgs[i].toString()), ); }