readValue method
Reads a value from the source, returning it if the source is a map,
or null
otherwise.
Implementation
Object? readValue(source, key) {
return isMap(source) ? source[key] : null;
}
Reads a value from the source, returning it if the source is a map,
or null
otherwise.
Object? readValue(source, key) {
return isMap(source) ? source[key] : null;
}