searchText function

Future<GlobalSearchResult> searchText(
  1. String searchText, [
  2. Map<String, dynamic>? params
])

params - additional parameters for request. Use class-helper GlobalSearchParams to simple config search request

Implementation

Future<GlobalSearchResult> searchText(String searchText,
    [Map<String, dynamic>? params]) {
  return GlobalSearchQuery(searchText, params).perform();
}