appendRefreshPage method

  1. @override
void appendRefreshPage(
  1. List<T> newItems,
  2. PageKeyType? nextPageKey
)
override

Implementation

@override
void appendRefreshPage(List<T> newItems, PageKeyType? nextPageKey) {
  state = state.copyWith(
    itemList: newItems,
    nextPageKey: nextPageKey,
    error: null,
  );
}