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 b311b8e6dabe01e82dc24dfb223fb04f3b834cdd..b89c839c405607400668c3469f8b7179f20f6ec7 100644 |
--- a/pkg/http/lib/src/multipart_request.dart |
+++ b/pkg/http/lib/src/multipart_request.dart |
@@ -73,7 +73,7 @@ class MultipartRequest extends BaseRequest { |
/// |
/// This doesn't need to be closed. When the request is sent, whichever files |
/// are written to this sink at that point will be used. |
- StreamSink<MultipartFile> get files => _files; |
+ CollectionSink<MultipartFile> get files => _files; |
/// The private version of [files], typed so that the underlying collection is |
/// accessible. |