Creates a Pair which key and value has been mapped using key and value.
key
value
Pair<K1, V1> map<K1, V1>(Mapper<K, K1> key, Mapper<V, V1> value) => Pair(key(this.key), value(this.value));