DataPageQueryResult<T> class
Represents a query result with pagination.
Constructors
-
DataPageQueryResult(int total, List<
T> results, int page, int resultsPerPage) - Create an instance of DataPageQueryResult.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- page → int
-
The current page.
final
- pages → int
-
Gets the number of all valid pages.
no setter
-
results
→ List<
T> -
The current page results.
final
- resultsPerPage → int
-
Results per each page.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → int
-
The count of all results.
final
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