removeAll method
      
void
removeAll(
    
- T item
Remove all occurrences of item from the list.
Implementation
void removeAll(T item) {
  while (contains(item)) {
    remove(item);
  }
}Remove all occurrences of item from the list.
void removeAll(T item) {
  while (contains(item)) {
    remove(item);
  }
}