reset method

void reset()

Clears the items and resets the controller state.

Implementation

void reset() {
  _items = [];
  _pageItemCounts.clear();
  _currentPage = 1;
  _hasMore = true;
  _error = null;
  notifyListeners();
}