setText method
Emit a state with new searchText
Implementation
setText(String searchText) {
emit(SearchTextUpdatedState(searchText: searchText));
}
Emit a state with new searchText
setText(String searchText) {
emit(SearchTextUpdatedState(searchText: searchText));
}