setText method

dynamic setText(
  1. String searchText
)

Emit a state with new searchText

Implementation

setText(String searchText) {
  emit(SearchTextUpdatedState(searchText: searchText));
}