lastPage method

void lastPage()

Go to the last page.

Implementation

void lastPage() {
  currentPage = pageCount - 1;
}