canGoToNextPage property
bool
get
canGoToNextPage
Whether there is a next page. For cursor pagination, checks hasMoreItems (from server's hasNextPage). For offset pagination, checks if page < totalPages.
Implementation
bool get canGoToNextPage => hasMoreItems || page < totalPages;