setSearching method
- {required AppModel appModel,
- required CreatorModel creatorModel,
- required bool isSearching,
- String? searchTerm}
Flag for showing the loading state of the picker.
Implementation
void setSearching({
required AppModel appModel,
required CreatorModel creatorModel,
required bool isSearching,
String? searchTerm,
}) {
_isSearching = isSearching;
_currentSearchTerm = searchTerm;
creatorModel.refresh();
}