mapKey<U> method
Null safety
- String key
Get the values of the map items at the specified key
Implementation
List<U> mapKey<U>(String key) {
return map((Map<String, Object?> item) => item[key] as U).toList();
}
Get the values of the map items at the specified key
List<U> mapKey<U>(String key) {
return map((Map<String, Object?> item) => item[key] as U).toList();
}