toList method

Future<List<int>> toList()

Converts the stream to a single Future<List<int>>.

Implementation

Future<List<int>> toList() => readAll();