nextPage method

Future<SearchQuery?> nextPage()

Get the data of the next page. Returns null if there is no next page.

Implementation

Future<SearchQuery?> nextPage() async {
  final page = await _page.nextPage(_httpClient);
  if (page == null) {
    return null;
  }
  return SearchQuery(_httpClient, searchQuery, page);
}