search method
Give search to perform a search.
Basically, it returns itself.
If force
is specified, the update will be forced.
Implementation
Future<List<T>> search(
String search, {
bool force = false,
}) async {
if (!force && _searchText == search) {
return this;
}
_searchText = search;
_splitBygram = null;
clear();
await load();
return this;
}