search property

Future<Search> search

A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.

Implementation

Future<Search> get search async {
  if (_useToken) await _confirmToken();

  return Search(token: _token, apiKey: _apiKey, dio: dio);
}