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 9bb1c46685c08002838e1778f36f2b34bd03afb8..b311b8e6dabe01e82dc24dfb223fb04f3b834cdd 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. |
- Sink<MultipartFile> get files => _files; |
+ StreamSink<MultipartFile> get files => _files; |
/// The private version of [files], typed so that the underlying collection is |
/// accessible. |