operator [] method

JSAny? operator [](
  1. String property
)

Shorthand helper to get String properties.

Implementation

JSAny? operator [](String property) => getProperty(property.toJS);