operator []= method

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

Update the element at index with the new value value.

Implementation

void operator []=(int index, E value) => this.update(index, value);