flattenedToList property
The sequential elements of each iterable in this iterable.
Iterates the elements of this iterable. For each one, which is itself an iterable, all the elements of that are added to the returned list, before moving on to the next element.
Implementation
List<T> get flattenedToList => [
for (final elements in this) ...elements,
];