Returns a KtList containing all key-value pairs.
@useResult KtList<KtPair<K, V>> toList() => listFrom(iter.map((it) => it.toPair()));