nextPage method

int nextPage()

Calculates the next page to be fetched based on the current skip and take values.

Returns:

  • The number of entities to skip for the next page.

Implementation

int nextPage() {
  return skip + take;
}