matchKey method
K?
matchKey(
- K key
Returns the existing key that matches key
.
Implementation
K? matchKey(K key) {
if (containsKey(key)) return key;
return null;
}
Returns the existing key that matches key
.
K? matchKey(K key) {
if (containsKey(key)) return key;
return null;
}