PaginationResponse<T>.empty constructor

PaginationResponse<T>.empty()

Creates an empty PaginationResponse

Useful for initial states or when no data is available.

Implementation

factory PaginationResponse.empty() {
  return PaginationResponse<T>(
    items: const [],
    total: 0,
    skip: 0,
    limit: 0,
    isLastPage: true,
    nextPageKey: null,
  );
}