refresh method

void refresh()

Resets value to its initial state.

Implementation

void refresh() {
  value = PagingState<PageKeyType, ItemType>(
    nextPageKey: firstPageKey,
    error: null,
    itemList: null,
  );
}