toMap method

Map<K, V> toMap()

Converts an iterable of MapEntry to a Map.

Implementation

Map<K, V> toMap() {
  return Map.fromEntries(this);
}