iterator property

IMapIterator<K, V> get iterator

Gets an object that you can use for iterating over the key-value pairs of a Map. Typical usage:

  var it = aMap.iterator;
  while (it.next()) {
    console.log("the key: " + it.key + " has value: " + it.value);
  }

Implementation

_i3.IMapIterator<K, V> get iterator => _i4.getProperty(
      this,
      'iterator',
    );
set iterator (IMapIterator<K, V> value)

Implementation

set iterator(_i3.IMapIterator<K, V> value) {
  _i4.setProperty(
    this,
    'iterator',
    value,
  );
}