collect<R> method
Implementation
List<R> collect<R>(R Function(K key, V value) convert) {
final result = <R>[];
forEach((key, value) => result.add(convert(key, value)));
return result;
}
List<R> collect<R>(R Function(K key, V value) convert) {
final result = <R>[];
forEach((key, value) => result.add(convert(key, value)));
return result;
}