operator [] method Null safety

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);