flattened property

Iterable<T> flattened

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 emitted on the returned iterable, before moving on to the next element.


Iterable<T> get flattened sync* {
  for (var elements in this) {
    yield* elements;