toIterable method

Iterable<MapEntry<K, V>> toIterable()

Converts the iterator of map entries into an iterable.

Implementation

Iterable<MapEntry<K, V>> toIterable() sync* {
  while (moveNext()) yield current;
}