toList method

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

Returns a mutable List containing the elements of this set.

The list is fixed-length if growable is false.

Implementation

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