MapEntry<K, V> constructor

const MapEntry<K, V>(K key, V value)

Creates an entry with key and value.

Implementation

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