activateLast method

void activateLast()

Activates last element in the list.

Implementation

void activateLast() {
  _activeIndex = _items.isEmpty ? -1 : _items.length - 1;
  _modelChanged.add(null);
}