Pair<K, V> constructor
Pair<K, V> (
- K key,
- V value
Creates a Pair with the given key and value.
Implementation
Pair(this.key, this.value): fields = List.unmodifiable([key, value]);