only<K, V> static method
Returns a new map containing only the entries whose keys are in keys.
Implementation
static Map<K, V> only<K, V>(Map<K, V> map, Iterable<K> keys) => {
for (final k in keys)
if (map.containsKey(k)) k: map[k] as V,
};