InfiniteQueryResult<TPage, TPageParam> constructor
const
InfiniteQueryResult<TPage, TPageParam> ({
- required QueryResult<
InfiniteData< query,TPage, TPageParam> > - required bool hasNextPage,
- required bool hasPreviousPage,
- required bool isFetchingNextPage,
- required bool isFetchingPreviousPage,
Creates an infinite query result projection.
Implementation
const InfiniteQueryResult({
required this.query,
required this.hasNextPage,
required this.hasPreviousPage,
required this.isFetchingNextPage,
required this.isFetchingPreviousPage,
});