operator []= method

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

Sets the scalar at the provided index to value.

Implementation

@nonVirtual
void operator []=(int index, T value) {
  RangeError.checkValidIndex(index, this, 'index', count);
  setUnchecked(index, value);
}