goToPreviousPage method

void goToPreviousPage()

Goes to the previous 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 goToPreviousPage() {
  goToPage(currentPage - 1);
}