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