findKeyValue<K, V> function
Finds in map
a value that has one of keys
.
ignoreCase
If true
ignores the case of the keys.
Implementation
V? findKeyValue<K, V>(Map? map, List<K>? keys, [bool ignoreCase = false]) {
var entry = findKeyEntry<K, V>(map, keys, ignoreCase);
return entry?.value;
}