operator []= method

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

Shorthand helper to set String properties.

Implementation

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