EnhancedDelegate<T> class
Immutable data holder for EnhancedPaginatedView.
This delegate carries only the data related state of the paginated
view: the current listOfData and the status of the most recent load.
All presentation/behavior configuration lives on EnhancedConfig instead.
- Annotations
Constructors
-
EnhancedDelegate({required List<
T> listOfData, required EnhancedStatus status}) -
Creates a new instance of the EnhancedDelegate class.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
listOfData
→ List<
T> -
The list of data to be displayed in the EnhancedPaginatedView.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → EnhancedStatus
-
The current status of the EnhancedPaginatedView.
final
Methods
-
copyWith(
{List< T> ? listOfData, EnhancedStatus? status}) → EnhancedDelegate<T> - Creates a copy of this delegate with the given fields replaced.
-
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.
override