search method

Future<void> search(
  1. String term
)

Mirrors ResourceListProvider.search(): stores the term and refetches from page one. Debouncing lives in the screen, not here — the same division that type documents.

Implementation

Future<void> search(String term) {
  _searchTerm = term;
  return _fetchFirstPage();
}