removeAll method

  1. @useCopy
IList<T> removeAll(
  1. Iterable<T?> items
)

Removes all occurrences of all items from this list. Same as calling removeMany for each item in items.

The method has no effect if item was not in the list.

Implementation

@useCopy
IList<T> removeAll(Iterable<T?> items) {
  final L<T> result = _l.removeAll(items);
  return identical(result, _l) ? this : IList<T>._unsafe(result, config: config);
}