setSearchFilter method
- List<
GroupChannelListQuerySearchField> searchFields, - String searchQuery
Sets Search
filter.
GroupChannels will be included in the result if its data in specified GroupChannelListQuerySearchFields contains specified query string.
Refer to GroupChannelListQuerySearchField.
If you set multiple GroupChannelListQuerySearchFields, the result will be union of each result.
searchFields
that you want to search.
searchQuery
string you want to search with.
Implementation
void setSearchFilter(
List<GroupChannelListQuerySearchField> searchFields,
String searchQuery,
) {
sbLog.i(StackTrace.current, 'searchQuery: $searchQuery');
this.searchFields = searchFields;
this.searchQuery = searchQuery;
}