operator []= method Null safety

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

Store v in the list at index.

Implementation

void operator []=(int index, T v) {
  store(index, v);
}