PaginationControllerState<ItemType, PM extends PaginationMethod, ErrorType> class sealed

Base class that defines the state of the pagination controller.

ItemType is the type of items being paginated. PM is the pagination method used. ErrorType represents possible errors.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
lastPagination → PM
final
nextPagination → PM?
no setter
refreshingPagination → PM?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWithPagination(PM pagination) PaginationControllerState<ItemType, PM, ErrorType>
Creates a new state with the updated pagination pointer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeItemAt(int index) PaginationControllerState<ItemType, PM, ErrorType>
toString() String
A string representation of this object.
inherited
updateItemAt(int index, ItemType newItem) PaginationControllerState<ItemType, PM, ErrorType>

Operators

operator ==(Object other) bool
The equality operator.
inherited