PaginatedState<T> class
abstract
A generic interface for paginated state
- Implementers
Constructors
Properties
- error → String?
-
Current error message, if any
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasReachedMax → bool
-
Whether all data has been loaded
no setter
- isEmpty → bool
-
Whether there are any items
no setter
- isLoading → bool
-
Whether the initial data is loading
no setter
- isLoadingMore → bool
-
Whether more data is being loaded
no setter
- isNotEmpty → bool
-
Whether there are items to display
no setter
- itemCount → int
-
Total number of items loaded so far
no setter
-
items
→ List<
T> -
List of items currently loaded
no setter
- nextPageToken → String?
-
Token for loading the next page
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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