apply method

  1. @override
void apply(
  1. List<T> list
)
override

Applies this change to the given list.

Parameters:

  • list (List<T>, required): The list to modify.

Implementation

@override
void apply(List<T> list) {
  list.removeAt(index);
}