clear method

void clear()

Clear all results and reset the selection index.

Implementation

void clear() {
  _results = [];
  _selectedIndex = 0;
}