toList method

List<T> toList({
  1. bool growable = true,
})

Convert this iterator into a List.

Implementation

List<T> toList({bool growable = true}) => List.of(toIterable(), growable: growable);