MapEntry<K, V> constructor

const MapEntry<K, V>(
  1. K key,
  2. V value
)

Creates an entry with key and value.

Implementation

const factory MapEntry(K key, V value) = MapEntry<K, V>._;