setSearchQuery method
- String query
Updates the search query and filters the mothers list
Implementation
void setSearchQuery(String query) {
emit(state.copyWith(searchQuery: query));
_applySearchFilter();
}
Updates the search query and filters the mothers list
void setSearchQuery(String query) {
emit(state.copyWith(searchQuery: query));
_applySearchFilter();
}