PaginationDetectionResult class

Result of pagination detection

Constructors

PaginationDetectionResult.new({required PaginationType type, String? nextPageUrl, String? prevPageUrl, List<String> allPageUrls = const [], int? currentPage, int? totalPages, bool isLastPage = false, Element? paginationElement})
Creates a new PaginationDetectionResult
PaginationDetectionResult.empty()
Creates an empty PaginationDetectionResult
factory

Properties

allPageUrls List<String>
All page URLs, if available
final
currentPage int?
The current page number, if available
final
hashCode int
The hash code for this object.
no setterinherited
isLastPage bool
Whether this is the last page
final
nextPageUrl String?
The next page URL, if available
final
paginationElement → Element?
The pagination element
final
prevPageUrl String?
The previous page URL, if available
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPages int?
The total number of pages, if available
final
type PaginationType
The type of pagination
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