Pair<K, V> class
Represents an immutable key-value pair.
Properties
Methods
-
map<
K1, V1> (Mapper< K, K1> key, Mapper<V, V1> value) → Pair<K1, V1> -
Creates a Pair which key and value has been mapped using
key
andvalue
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduce<
T> (T reduce(K, V)) → T -
Reduces key and value using
reduce
. -
replace(
{K? key, V? value}) → Pair< K, V> - Creates a Pair which key and/or value has been replaced.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited