PaginationState<T> class
Pagination state
Constructors
Properties
- currentPage → int
-
final
- error → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
final
- isEmpty → bool
-
no setter
- isLoading → bool
-
final
- isNotEmpty → bool
-
no setter
-
items
→ List<
T> -
final
- pageSize → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalItems → int?
-
final
- totalPages → int
-
no setter
Methods
-
copyWith(
{List< T> ? items, int? currentPage, int? pageSize, int? totalItems, bool? hasMore, bool? isLoading, Object? error}) → PaginationState<T> -
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