keys property

Iterable<K> keys
override

The keys of this.

The returned iterable has efficient length and contains operations, based on length and containsKey of the individual maps.

The order of iteration is defined by the individual Map implementations, but must be consistent between changes to the maps.

Unlike most Map implementations, modifying an individual map while iterating the keys will sometimes throw. This behavior may change in the future.

Implementation

Iterable<K> get keys => new CombinedIterableView<K>(_maps.map((m) => m.keys));