hasNext property

bool get hasNext

Whether there are more pages.

Implementation

bool get hasNext => pageNumber < totalPages - 1;