operator []= method

void operator []= (int index, double value)
inherited

This operation is not supported by an unmodifiable list.

Implementation

void operator []=(int index, E value) {
  throw new UnsupportedError("Cannot modify an unmodifiable list");
}