Converts the stream to a single Future<List<int>>.
Future<List<int>>
Future<List<int>> toList() => readAll();