This operation is not supported by an unmodifiable list.
Source
void operator []=(int index, E value) { throw new UnsupportedError("Cannot modify an unmodifiable list"); }
This operation is not supported by an unmodifiable list.
void operator []=(int index, E value) { throw new UnsupportedError("Cannot modify an unmodifiable list"); }