PaginationData<T extends Object> class
Represents data for pagination, either as a placeholder or with actual data.
Constructors
- PaginationData.empty()
-
Creates a placeholder PaginationData instance with no data.
const
- PaginationData.value(T? data)
-
Creates a PaginationData instance with the provided
data
.const
Properties
- data → T?
-
The data associated with this PaginationData.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPlaceholder → bool
-
Indicates whether this PaginationData instance is a placeholder.
final
- 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