PagingState<PageKeyType, ItemType> class

The current item's list, error, and next page key state for a paginated widget.

Annotations

Constructors

PagingState({PageKeyType? nextPageKey, List<ItemType>? itemList, dynamic error})
const

Properties

error → dynamic
The current error, if any.
final
hashCode int
The hash code for this object.
no setteroverride
itemList List<ItemType>?
List with all items loaded so far.
final
nextPageKey → PageKeyType?
The key for the next page to be fetched.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status PagingStatus
The current pagination status.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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