Index: pkg/http/lib/src/byte_stream.dart |
diff --git a/pkg/http/lib/src/byte_stream.dart b/pkg/http/lib/src/byte_stream.dart |
index a15475745d5cc048fc196902ebbdbd200724e958..181d410542d71b75534481157928bd6511d2fc6b 100644 |
--- a/pkg/http/lib/src/byte_stream.dart |
+++ b/pkg/http/lib/src/byte_stream.dart |
@@ -24,7 +24,7 @@ class ByteStream extends StreamView<List<int>> { |
/// Collects the data of this stream in a [Uint8List]. |
Future<Uint8List> toBytes() { |
return fold(new BytesBuilder(), (builder, chunk) => builder..add(chunk)) |
- .then((builder) => builder.takeBytes()); |
+ .then((builder) => builder.takeBytes()); |
} |
/// Collect the data of this stream in a [String], decoded according to |