toArray method

Array<KeyValuePair<K, V>> toArray()

Produces a JavaScript Array of key/value pair objects from the contents of this Map. @return {Array.<KeyValuePair.<K,V>>} A copy of the Map in Array form, each element being an Object with 'key' and 'value' properties.

Implementation

_i7.Array<_i3.KeyValuePair<K, V>> toArray() => _i4.callMethod(
      this,
      'toArray',
      [],
    );