operator []= method Null safety

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

Implementation

void operator []=(int index, Touch value) {
  throw new UnsupportedError("Cannot assign element of immutable List.");
}