Dart API Referencedart:coreimplKeyValuePair<K, V>

KeyValuePair<K, V> Class

This class represents a pair of two objects, used by LinkedHashMap to store a {key, value} in a list.

Constructors

Code new KeyValuePair(K key, V value) #

KeyValuePair(this.key, this.value) {}

Fields

Code final K key #

final K key;

Code V value #

V value;