operator []= method

  1. @override
void operator []=(
  1. int index,
  2. E value
)
override

This operation is not supported by an unmodifiable list.

Implementation

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