searchRaw method

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

Queries to YouTube to get the results. You need to manually read SearchQuery.content and/or SearchQuery.relatedVideos. For most cases SearchClient.search is enough.

Implementation

Future<SearchQuery> searchRaw(
  String searchQuery, {
  SearchFilter filter = const SearchFilter(''),
}) =>
    SearchQuery.search(_httpClient, searchQuery, filter: filter);