generateSearchSuggestions method
- String searchTerm
override
Given a search term, this source may give search suggestions. If the empty list is returned, then search history will be shown instead.
Implementation
@override
Future<List<String>> generateSearchSuggestions(String searchTerm) async {
return _searchClient.getQuerySuggestions(searchTerm);
}