operator [] method
Return the binding for key
.
Implementation
dynamic operator [](Name key) {
if (_bindings.containsKey(key)) {
return _bindings[key];
} else if (_owner != null) {
return _owner![key];
} else {
_invalidBinding(key);
return null;
}
}