activate method

void activate(
  1. T value
)

Activates value. If value is not found, the active pointer is set to none.

Implementation

void activate(T value) {
  _activeIndex = _items.indexOf(value);
  _modelChanged.add(null);
}