Метод operator []
dynamic operator [](Возвращает значение, связанное с property из проксируемого JavaScript-объекта.
Тип property должен быть либо String, либо num.
Исходный код
operator [](property) {
try {
return _operator_getterLegacy(property);
} catch (e) {
// Re-throw any errors (returned as a string) as a DomException.
throw new html.DomException.jsInterop(e);
}
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-js/JsObject/operator_get.html