toIterable method

Iterable<E> toIterable()

Returns a new lazy Iterable with all elements of this collection.

Implementation

Iterable<E> toIterable() sync* {
  yield* this;
}