collect<A> method

Iterable<A> Function(A (K key, V value)) collect<A>(
  1. Order<K> order
)

Collect all the entries in this Map into an Iterable using fun with the values ordered using order.

Implementation

Iterable<A> Function(A Function(K key, V value)) collect<A>(Order<K> order) =>
    (A Function(K key, V value) fun) =>
        toIterable(order).map((item) => fun(item.key, item.value));