Skip to content

Commit fbc691a

Browse files
jonasfjnatebosch
authored andcommitted
Updated docs to reflect that Response.change(body: null) will not work (#127)
1 parent d435c32 commit fbc691a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ class Response extends Message {
304304
/// in the copied [Response] unchanged.
305305
///
306306
/// [body] is the request body. It may be either a [String], a [List<int>], a
307-
/// [Stream<List<int>>], or `null` to indicate no body.
307+
/// [Stream<List<int>>], or `<int>[]` (empty list) to indicate no body.
308308
@override
309309
Response change(
310310
{Map<String, String> headers, Map<String, Object> context, body}) {

0 commit comments

Comments
 (0)