Index: pkg/http/lib/src/streamed_response.dart |
diff --git a/pkg/http/lib/src/streamed_response.dart b/pkg/http/lib/src/streamed_response.dart |
index f82c964b205f940d1a3d3982486767ee85a4f1f9..21c7d9aa9700fcc5410eb751c253eea2fca1a3fc 100644 |
--- a/pkg/http/lib/src/streamed_response.dart |
+++ b/pkg/http/lib/src/streamed_response.dart |
@@ -23,15 +23,15 @@ class StreamedResponse extends BaseResponse { |
StreamedResponse( |
Stream<List<int>> stream, |
int statusCode, |
- int contentLength, |
- {BaseRequest request, |
+ {int contentLength, |
+ BaseRequest request, |
Map<String, String> headers: const {}, |
bool isRedirect: false, |
bool persistentConnection: true, |
String reasonPhrase}) |
: super( |
statusCode, |
- contentLength, |
+ contentLength: contentLength, |
request: request, |
headers: headers, |
isRedirect: isRedirect, |