entries method

  1. @JS('prototype.entries')
JSIterator<List> entries()

Returns an JSIterator of all the key value pairs in the Map

The JSIterator returns the key value pairs as a List<dynamic>. The List always contains two elements. The first is the key and the second is the value.

Implementation

@JS('prototype.entries')
external JSIterator<List<dynamic>> entries();