unselectItem method

void unselectItem(
  1. T item
)

Implementation

void unselectItem(T item) {
  if (selectedItems.contains(item)) selectedItems.remove(item);
}