hasValue method
Whether key is present and its value isn't null.
Implementation
bool hasValue(K key) {
final value = this[key];
return value != null;
}
Whether key is present and its value isn't null.
bool hasValue(K key) {
final value = this[key];
return value != null;
}