goToNextPage method

void goToNextPage()

Goes to the next page of the table

This method will await the onChangePage callback, if provided. Furthermore, if the callback returns a new List of items, those will be shown, otherwise the initial items paged will be shown.

Implementation

void goToNextPage() {
  goToPage(currentPage + 1);
}