toggleSelectAll method

void toggleSelectAll()

Implementation

void toggleSelectAll() {
  if (selectionMode != TSelectionMode.multiple) return;
  hasSelection ? clearSelection() : selectAll();
}