call method

Future<VideoSearchList> call(
  1. String searchQuery, {
  2. SearchFilter filter = const SearchFilter(''),
})

Enumerates results returned by the specified search query. The contents are sent in batch of 20 elements. The list can either contain a SearchVideo, SearchPlaylist or a SearchChannel. You SearchList.nextPage to get the next batch of content. Same as SearchClient.search

Implementation

Future<VideoSearchList> call(
  String searchQuery, {
  SearchFilter filter = const SearchFilter(''),
}) async =>
    search(searchQuery, filter: filter);