appendLastPage method

void appendLastPage(
  1. List<Value> newItems
)

Appends newItems to the previously loaded ones and sets the next page key to null.

Implementation

void appendLastPage(List<Value> newItems) {
  final updatedItems = currentItems + newItems;
  value = PagedValue(items: updatedItems);
}