SimplePaginator<T> class
final
simplePaginate() result: no total, only next/previous.
- Implemented types
Constructors
Properties
- currentPage → int
-
final
- from → int?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMorePages → bool
-
final
-
items
→ List<
T> -
final
- nextPageUrl → String?
-
no setter
- pageName → String
-
final
- path → String
-
Base URL of the paginated resource (Laravel
path()).finalinherited - perPage → int
-
final
- previousPageUrl → String?
-
no setter
-
query
→ Map<
String, String> -
Query parameters appended to every page URL (
appends(),withQueryString()).finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → int?
-
no setter
Methods
-
appends(
Map< String, String> parameters) → SimplePaginator<T> -
Adds
parametersto every page URL. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toResponse(
Request request) → Response -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
url(
int page) → String -
withQueryString(
) → SimplePaginator< T> - Keeps the current request's query string in page URLs.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited