getNextPageParam property

PageParamFn<TPageData, TPageParam> getNextPageParam
final

Given the last page, the param for the one after it, or null when there is none. Required.

It is what hasNextPage asks, what a next-page fetch fetches, and what a refetch uses to walk from each held page to the next — a refetch stops early when it returns null.

Implementation

final PageParamFn<TPageData, TPageParam> getNextPageParam;