select method

void select(
  1. int index
)

Selects index if not already selected.

Implementation

void select(int index) {
  if (_selected.add(index)) {
    notifyListeners();
  }
}