hasValue method
Checks if the source contains a non-null value for the given key.
Implementation
bool hasValue(source, key) {
return isMap(source) && source[key] != null;
}
Checks if the source contains a non-null value for the given key.
bool hasValue(source, key) {
return isMap(source) && source[key] != null;
}