nextPage method

  1. @override
Future<SearchList?> nextPage()
override

Fetches the next batch of videos or returns null if there are no more results.

Implementation

@override
Future<SearchList?> nextPage() async {
  final page = await _page.nextPage(_httpClient);
  if (page == null) {
    return null;
  }

  return SearchList(page.searchContent, page, _httpClient);
}