refresh method

Future<void> refresh()

Refresh the data

Implementation

Future<void> refresh() async {
  _nextKey = _initialKey;
  _endReached = false;
  _currentError = null;
  _items.clear();
  _isLoading = false;
  _emitState();
  return loadMore();
}