collect method

Future<List<T>> collect()

Converts Stream into List

Implementation

Future<List<T>> collect() => toList();