handleRefresh method
Implementation
@override
TPaginationState<T> handleRefresh(TPaginationState<T> state) {
final newState = state.copyWith(currentPage: 1, loading: true);
_loadData(newState);
return newState;
}
@override
TPaginationState<T> handleRefresh(TPaginationState<T> state) {
final newState = state.copyWith(currentPage: 1, loading: true);
_loadData(newState);
return newState;
}