GetNextArg<T, Arg> typedef

GetNextArg<T, Arg> = Arg? Function(InfiniteQueryState<T>)

Determines the parameters of the next page in an infinite query.

Return null if the last page has already been fetch and therefore trigger InfiniteQueryState.hasReachedMax to equal true.

Implementation

typedef GetNextArg<T, Arg> = Arg? Function(InfiniteQueryState<T>);