| Index: lib/src/byte_collector.dart
|
| diff --git a/lib/src/byte_collector.dart b/lib/src/byte_collector.dart
|
| index 3b4f075034f853275ab587434e1147568c3b47e2..c7fe752fb10405e1eea5fc16dffbbb6cdb0cb154 100644
|
| --- a/lib/src/byte_collector.dart
|
| +++ b/lib/src/byte_collector.dart
|
| @@ -13,7 +13,7 @@ import "dart:typed_data";
|
| /// If any of the input data are not valid bytes, they will be truncated to
|
| /// an eight-bit unsigned value in the resulting list.
|
| Future<Uint8List> collectBytes(Stream<List<int>> source) {
|
| - var byteLists = List<List<int>>[];
|
| + var byteLists = <List<int>>[];
|
| var length = 0;
|
| var completer = new Completer<Uint8List>.sync();
|
| source.listen(
|
|
|