setQuery method
Called from your UI to set a search query to be applied against the items from the source bloc.
Note: the query will be stored lowercase.
Implementation
void setQuery(String query) => emit(query.toLowerCase());
Called from your UI to set a search query to be applied against the items from the source bloc.
Note: the query will be stored lowercase.
void setQuery(String query) => emit(query.toLowerCase());