toIterable method

Iterable<E> toIterable()

Tranformations to other structures Returns a new lazy Iterable with all elements of this collection.

Implementation

/// Returns a new lazy [Iterable] with all elements of this collection.
Iterable<E> toIterable() sync* {
  yield* this;
}