hasPrevious abstract method

bool hasPrevious()

Returns true if this pagination request has a previous page available.

Example:

if (currentPage.hasPrevious()) {
  final previous = currentPage.getPreviousOrFirst();
}

Implementation

bool hasPrevious();