operator []= method Null safety

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

Implementation

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