map<T, TK, TV> function

Iterable<T> map<T, TK, TV>(
  1. Map<TK, TV> source,
  2. T f(
    1. TK,
    2. TV?
    )
)

Converts a map to a list

Implementation

Iterable<T> map<T, TK, TV>(Map<TK, TV> source, T Function(TK, TV?) f) => source.keys.map((x) => f(x, source[x]));