appendLastPage method
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);
}