操作符 []= 方法
- int index,
- SourceBuffer value
override
将列表中给定 index 位置的值设置为 value。
index 必须是列表的有效索引,这意味着 index 必须是非负数且小于 length。
实现
void operator []=(int index, SourceBuffer value) {
throw new UnsupportedError("Cannot assign element of immutable List.");
}