reduce<T> method
Convert Map<K,V> to List
Implementation
List<T> reduce<T>(T Function(K, V) reduce) {
return map((K key, V value) {
return MapEntry(key, reduce.call(key, value));
}).values.toList();
}
Convert Map<K,V> to List
List<T> reduce<T>(T Function(K, V) reduce) {
return map((K key, V value) {
return MapEntry(key, reduce.call(key, value));
}).values.toList();
}