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 b313f684d15c92aabe7a9747e4fe25ad6ea59553..eb20758bd5b13f5c0d902d640f63424cc1f4be0b 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. |
- StreamSink<List<int>> get sink => _controller.sink; |
+ EventSink<List<int>> get sink => _controller.sink; |
/// The controller for [sink], from which [BaseRequest] will read data for |
/// [finalize]. |