toggleSelection method

void toggleSelection(
  1. T item
)

Implementation

void toggleSelection(T item) => toggleSelectionByKey(itemKey(item));