Index: pkg/http/lib/src/multipart_request.dart |
diff --git a/pkg/http/lib/src/multipart_request.dart b/pkg/http/lib/src/multipart_request.dart |
index b52395605e2ad0e992eab558641d8000efb31adc..b9adf9cc5c2eeede8165fa9b7c32ba390e281475 100644 |
--- a/pkg/http/lib/src/multipart_request.dart |
+++ b/pkg/http/lib/src/multipart_request.dart |
@@ -102,7 +102,7 @@ class MultipartRequest extends BaseRequest { |
writeLine(); |
}); |
- forEachFuture(files, (file) { |
+ Futures.forEach(files, (file) { |
writeAscii('--$boundary\r\n'); |
writeAscii(_headerForFile(file)); |
return writeInputToInput(file.finalize(), stream) |