PrevPageParamBuilder<TData, TPageParam> typedef
PrevPageParamBuilder<TData, TPageParam> =
TPageParam? Function(InfiniteData<TData, TPageParam> data)
Signature for the function that determines the previous page parameter.
Receives the current data containing all fetched pages and their
parameters. Returns the parameter for the previous page, or null if there
are no more pages.
Implementation
typedef PrevPageParamBuilder<TData, TPageParam> = TPageParam? Function(
InfiniteData<TData, TPageParam> data,
);