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 357aa7e17e4569a58605a37ff8aa38098d2e1c1d..0272a0b44ffb483dc2afaf256eb201bb57fe3540 100644 |
--- a/pkg/http/lib/src/multipart_request.dart |
+++ b/pkg/http/lib/src/multipart_request.dart |
@@ -111,7 +111,7 @@ class MultipartRequest extends BaseRequest { |
writeLine(); |
}); |
- Futures.forEach(_files.collection, (file) { |
+ Future.forEach(_files.collection, (file) { |
writeAscii('--$boundary\r\n'); |
writeAscii(_headerForFile(file)); |
return writeStreamToSink(file.finalize(), controller) |