operator []= method

void operator []=(
  1. int index,
  2. Object? value
)

Sets a table element by its index.

Implementation

void operator []=(int index, Object? value) => jsObject.set(index, value);