toList method

KtList<KtPair<K, V>> toList()

Returns a KtList containing all key-value pairs.

Implementation

KtList<KtPair<K, V>> toList() => listFrom(iter.map((it) => it.toPair()));