update method

void update({
  1. String? query,
  2. String? suggestion,
  3. String? placeholder,
})

Implementation

void update({String? query, String? suggestion, String? placeholder}) {
  this._suggestion = suggestion;
  this._query = query;
  notifyListeners();
}