put method
Puts a new value into 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 put.value
a new value for map element.
Implementation
void put(String? key, value) {
if (key == null) {
return;
} else if (key.indexOf('.') > 0) {
RecursiveObjectWriter.setProperty(this, key, value);
} else {
super.put(key, value);
}
}