This can be used to check if there is a previous page before calling previous.
bool get hasPreviousPage => previousApiUrl != null;