setQuery method

void setQuery(
  1. String q
)

Set query.

Implementation

void setQuery(String q) {
  query = q;
  notifyListeners();
}