removeLastOccurrence method
void
removeLastOccurrence(
- T item
Removes the last occurrence of item from the list.
Implementation
void removeLastOccurrence(T item) {
final i = lastIndexOf(item);
if (i != -1) removeAt(i);
}