Applies this change to the given list.
list
Parameters:
List<T>
@override void apply(List<T> list) { list.removeAt(index); }