matchKeyIgnoreCase method
K?
matchKeyIgnoreCase(
- K key
Returns the existing key that matches key
as case-insensitive.
Implementation
K? matchKeyIgnoreCase(K key) {
if (containsKey(key)) return key;
var keyStr = key.toString();
for (var k in keys) {
if (equalsIgnoreAsciiCase(keyStr, k.toString())) {}
}
return null;
}