reset method

void reset()

Clears loaded chunks and returns to initial state.

Implementation

void reset() {
  _chunks.clear();
  _reloading.clear();
  _requestedSinceEviction.clear();
  _nextChunkIndex = 0;
  _lastRequestedIndex = 0;
  _lastError = null;
  _isLoading = false;
  notifyListeners();
}