flatten method

Iter<T> flatten()

Flatten an iterator of iterators into a single iterator.

Implementation

@pragma("vm:prefer-inline")
Iter<T> flatten() {
  return Iter(_flattenHelper().iterator);
}