PaginationResult<T> class
Result of pagination handling
Constructors
-
PaginationResult.new({required List<
T> results, required List<String> pageUrls, required int pageCount, required bool hasMorePages, String? nextPageUrl}) - Creates a new PaginationResult
- PaginationResult.empty()
-
Creates an empty PaginationResult
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMorePages → bool
-
Whether there are more pages available
final
- nextPageUrl → String?
-
The next page URL, if available
final
- pageCount → int
-
The total number of pages that were scraped
final
-
pageUrls
→ List<
String> -
The URLs of all pages that were scraped
final
-
results
→ List<
T> -
The results from all pages
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