toList method

List<T> toList()

Returns a new list containing all elements of the iterable.

Implementation

List<T> toList() => value.toList();