findKeyName<K, V> function

K? findKeyName<K, V>(
  1. Map? map,
  2. List<K>? keys, [
  3. bool ignoreCase = false
])

Finds in map a key that has one of keys.

ignoreCase If true ignores the case of the keys.

Implementation

K? findKeyName<K, V>(Map? map, List<K>? keys, [bool ignoreCase = false]) {
  var entry = findKeyEntry(map, keys, ignoreCase);
  return entry?.key;
}