PaginationConfig class
Configuration for pagination handling
Constructors
- PaginationConfig.new({int maxPages = 10, int maxDepth = 5, bool followPagination = true, bool extractAllPages = true, bool mergeContent = true, bool validateLinks = true, bool respectOrder = true})
-
Creates a new PaginationConfig
const
- PaginationConfig.singlePage()
-
Creates a PaginationConfig for a single page
factory
- PaginationConfig.unlimited()
-
Creates a PaginationConfig for unlimited pagination
factory
Properties
- extractAllPages → bool
-
Whether to extract content from all pages
final
- followPagination → bool
-
Whether to follow pagination links automatically
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDepth → int
-
The maximum depth of pagination to follow
final
- maxPages → int
-
The maximum number of pages to scrape
final
- mergeContent → bool
-
Whether to merge content from all pages
final
- respectOrder → bool
-
Whether to respect the order of pagination
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validateLinks → bool
-
Whether to validate pagination links
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