operator []= method Null safety

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

The 8-bit unsigned integer at address + index.

A Dart integer is truncated to 8 bits (as if by .toUnsigned(8)) before being stored, and the 8-bit value is zero-extended when it is loaded.

Implementation

external void operator []=(int index, int value);