PaginationListResponseData<ResponseData> class
List pagination response data holder and processor. PaginationListResponseData handles storing list response data and process list response data.
- Inheritance
-
- Object
- PaginationResponseData<
List< ResponseData> > - PaginationListResponseData
Constructors
-
PaginationListResponseData.new({List<
ResponseData> initialData = const [], PaginationResponseDataMigration<List< ? onMergingResponseData, PaginationResponseDataReset? onReloadResetResponseData})ResponseData> > - Constructor for creating list pagination response data.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialData
→ List<
ResponseData> -
Getter for initial response data.
no setterinherited
-
mergedData
→ List<
ResponseData> -
Getter for merged response data.
no setterinherited
-
onMergingResponseData
→ PaginationResponseDataMigration<
List< ResponseData> > -
Function for implementation of merging response data. All data merging
must be done within this function.
finalinherited
-
onReloadResetResponseData
→ PaginationResponseDataReset<
List< ResponseData> > -
Function for implementation of resetting
_mergedData
when event isPaginationReloadServiceRequested
finalinherited - 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