Search class Null safety

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.

Constructors

Properties

accept String
final, inherited
apiKey String?
final
contentType String
final, inherited
dio Dio
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String?
final

Methods

buildParts(List<String> partList, String part) String
inherited
list({String part = 'snippet', List<String> partList = const [], String? channelId, String? channelType, String? eventType, bool? forContentOwner, bool? forDeveloper, bool? forMine, String? location, String? locationRadius, int? maxResults, String? onBehalfOfContentOwner, String? order, String? pageToken, String? publishedAfter, String? publishedBefore, String? q, String? regionCode, String? relevanceLanguage, String? safeSearch, String? topicId, String? type, String? videoCaption, String? videoCategoryId, String? videoDefinition, String? videoDimension, String? videoDuration, String? videoEmbeddable, String? videoLicense, String? videoSyndicated, String? videoType}) Future<SearchListResponse>
Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and Playlist resources, but you can also configure queries to only retrieve a specific type of resource.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited