Dart API Referencedart:coreIterable<E>

Iterable<E> Interface

The Iterable interface allows to get an Iterator out of an Iterable object.

This interface is used by the for-in construct to iterate over an Iterable object. The for-in construct takes an Iterable object at the right-hand side, and calls its iterator method to get an Iterator on it.

A user-defined class that implements the Iterable interface can be used as the right-hand side of a for-in construct.

Subinterfaces

Collection<E>

Implemented by

IterableUtf16Decoder, IterableUtf32Decoder, IterableUtf8Decoder

Methods

Code Iterator<E> iterator() #

Returns an Iterator that iterates over this Iterable object.

Iterator<E> iterator();