operator []= method Null safety

void operator []=(
  1. int index,
  2. Pointer<T> value
)

Store a Dart value into this location offset by index.

A Pointer is unboxed before being stored (as if by .address), and the pointer is boxed (as if by Pointer.fromAddress) when loaded.

On 32-bit platforms the address must be 4-byte aligned, and on 64-bit platforms the address must be 8-byte aligned.

Implementation

external void operator []=(int index, Pointer<T> value);