where<T extends V> method
Implementation
Map<K, T> where<T extends V> (bool Function(V element) callback) {
Map<K, T> result = {};
forEach((key, value) {
if (callback(value)) {
result.putIfAbsent(key, () => value as T);
}
});
return result;
}