dart / 2 / dart-js / jsobject / operator_get.html

operator [] method

dynamic operator [](
  1. Object property
)

Returns the value associated with property from the proxied JavaScript object.

The type of property must be either String or num.

Implementation

external dynamic operator [](Object property);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-js/JsObject/operator_get.html