previous method

Implementation

Future<PaginatedPredictions> previous() async {
  if (!hasPreviousPage) {
    throw NoPreviousPageException();
  }
  assert(previousApiUrl != null, "No previous page exists for this list");
  return await ReplicatePrediction().listPredictionsFromApiLink(
    url: previousApiUrl!,
  );
}