toggleAll method
Selects all if any are unselected, otherwise clears all.
Only works in multi-select mode.
Implementation
void toggleAll(int count) {
if (!multiSelect) return;
if (_selected.length == count) {
clear();
} else {
selectAll(count);
}
}