goToPreviousPage method

void goToPreviousPage()

Implementation

void goToPreviousPage() {
  if (!canGoToPreviousPage) return;

  // Use cursor history if available (cursor pagination)
  if (cursorHistory.isNotEmpty) {
    final previousCursor = cursorHistory.last;
    _executePaginationAction('goToPreviousPage', cursor: previousCursor, page: page > 1 ? page - 1 : 1);
  } else {
    handlePageChange(page - 1);
  }
}