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 {
final page = await SearchPage.get(httpClient, searchQuery, filter: filter);
return SearchQuery(httpClient, searchQuery, page);
}