clear method

void clear()

Clears search results and highlights.

Implementation

void clear() {
  _lastQuery = '';
  _clearMatches();
}