PaginationResponseData<ResponseData> class abstract

Base pagination response data holder and processor. PaginationResponseData handles storing data and process data.

Implementers

Constructors

PaginationResponseData.new({required ResponseData initialData, required PaginationResponseDataMigration<ResponseData> onMergingResponseData, PaginationResponseDataReset? onReloadResetResponseData})
Constructor for creating pagination response data.

Properties

hashCode int
The hash code for this object.
no setterinherited
initialData → ResponseData
Getter for initial response data.
no setter
mergedData → ResponseData
Getter for merged response data.
no setter
onMergingResponseData PaginationResponseDataMigration<ResponseData>
Function for implementation of merging response data. All data merging must be done within this function.
final
onReloadResetResponseData PaginationResponseDataReset<ResponseData>
Function for implementation of resetting _mergedData when event is PaginationReloadServiceRequested
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