get method
Gets a map element specified by its key.
The key can be defined using dot notation and allows to recursively access elements of elements.
key
a key of the element to get. Returns the value of the map element.
Implementation
dynamic get(String? key) {
if (key == null) {
return null;
} else if (key.indexOf('.') > 0) {
return RecursiveObjectReader.getProperty(this, key);
} else {
return super.get(key);
}
}