search static method
Future<SearchQuery>
search(
- YoutubeHttpClient httpClient,
- String searchQuery, {
- SearchFilter filter = const SearchFilter(''),
Search a video.
Implementation
static Future<SearchQuery> search(
YoutubeHttpClient httpClient, String searchQuery,
{SearchFilter filter = const SearchFilter('')}) async {
var page = await SearchPage.get(httpClient, searchQuery, filter: filter);
return SearchQuery(httpClient, searchQuery, page);
}