operator []= method
Updates the binding for key
with a value
.
Implementation
void operator []=(Name key, dynamic value) {
if (_bindings.containsKey(key)) {
_bindings[key] = value;
} else if (_owner != null) {
_owner![key] = value;
} else {
_invalidBinding(key);
}
}