InfinitePageContext<TPage, TPageParam> class final

Input supplied while fetching one page.

Constructors

InfinitePageContext({required QueryContext<InfiniteData<TPage, TPageParam>> query, required TPageParam pageParam, required InfiniteDirection direction})
Creates input for one page fetch.
const

Properties

direction → InfiniteDirection
Where the page will be added.
final
hashCode → int
The hash code for this object.
no setterinherited
pageParam → TPageParam
The parameter for the page being fetched.
final
query → QueryContext<InfiniteData<TPage, TPageParam>>
The underlying query context.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited