Index: pkg/http/lib/src/streamed_request.dart |
diff --git a/pkg/http/lib/src/streamed_request.dart b/pkg/http/lib/src/streamed_request.dart |
index a87d27ba40e2cd9dde5db6423c241b7f45da81c1..b313f684d15c92aabe7a9747e4fe25ad6ea59553 100644 |
--- a/pkg/http/lib/src/streamed_request.dart |
+++ b/pkg/http/lib/src/streamed_request.dart |
@@ -24,7 +24,7 @@ class StreamedRequest extends BaseRequest { |
/// buffered. |
/// |
/// Closing this signals the end of the request. |
- Sink<List<int>> get sink => _controller.sink; |
+ StreamSink<List<int>> get sink => _controller.sink; |
/// The controller for [sink], from which [BaseRequest] will read data for |
/// [finalize]. |