addSelectedItemInner method

void addSelectedItemInner(
  1. T item
)

Implementation

void addSelectedItemInner(T item) {
  selectedItems[item] = item;
  selectedItemsOrderedList.add(item);
  selectedItemsList.add(item);
}