operator []= method

void operator []=(
  1. String property,
  2. JSAny? value
)

Shorthand helper for setProperty to write the value of the property key property of this JSObject, but takes a Dart value.

Implementation

void operator []=(String property, JSAny? value) =>
    setProperty(property.toJS, value);