removeAll method

void removeAll(
  1. T item
)

Removes all occurrences of item from the list.

Implementation

void removeAll(T item) => removeWhere((e) => e == item);