PagePaginationDriver<RequestType extends TrayRequest, ResultType> class
Properties
-
firstPage
→ int
-
Defines whether the first page starts with 0 or 1 (depending on the api, this can differ)
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
pageProperty
→ String
-
Defines the property key used to pass the page to the request url
This is used for pagination to increase the page inside of the
fetchMore
method.
final
-
request
→ RequestType
-
keeps the current request for use in
fetchMore
method
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchMoreRequest()
→ Future<RequestType>
-
This method defines the way we determine whether our current request has more data to fetch.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
Defines the property key used to pass the page to the request url
This is used for pagination to increase the page inside of the
fetchMore
method.
-
toString()
→ String
-
A string representation of this object.
inherited