operator []= method

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

Sets the int at the specified index to the given value

Implementation

void operator []=(int index, value) {
  data[index] = value;
}