hasKey method
Checks if the source contains the given key.
Implementation
bool hasKey(source, key) {
return isMap(source) && (source as Map).containsKey(key);
}
Checks if the source contains the given key.
bool hasKey(source, key) {
return isMap(source) && (source as Map).containsKey(key);
}