Pagination<T> class
Constructors
-
Pagination({required int page, required int total, required int pageSize, required int lastPage, required List<
T> results}) -
const
- Pagination.empty({int pageSize = 20})
-
const
-
Pagination.fromJson(Map json, T itemBuilder(Map<
String, Object?> ))
Properties
Methods
-
add(
T obj) → Pagination< T> -
addAll(
Iterable< T> objs) → Pagination<T> -
append(
Pagination other) → Pagination< T> -
insert(
int index, T obj) → Pagination< T> -
next(
[int? value]) → Pagination< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
previous(
) → Pagination< T> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited