ChannelOptions class

Inheritance

Constructors

ChannelOptions({Set<ChannelPart> parts = const {ChannelPart.snippet}, String? forUsername, bool? managedByMe, bool? mine, List<String>? id, int? maxResults, String? onBehalfOfContentOwner, String? pageToken, String? regionCode, String? hl})

Properties

forUsername String?
The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.
final
hashCode int
The hash code for this object.
no setterinherited
hl String?
The hl parameter instructs the API to retrieve localized resource metadata for a specific[application language that the YouTube website supports. The parameter value must be a language code included in the list returned by the i18nLanguages.list method.
finalinherited
id List<String>?
The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) that are being retrieved. In a video resource, the id property specifies the video's ID.
finalinherited
managedByMe bool?
This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.
final
maxResults int?
The maxResults parameter specifies the maximum number of items that should be returned in the result set. Acceptable values are 0 to 50, inclusive. The default value is 5.
finalinherited
mine bool?
This parameter can only be used in a properly authorized request. Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.
final
onBehalfOfContentOwner String?
This parameter can only be used in a properly authorized request. Note: This parameter is intended exclusively for YouTube content partners.
finalinherited
pageToken String?
The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
finalinherited
parts Set<ChannelPart>
final
regionCode String?
The regionCode parameter instructs the API to return search results for videos that can be viewed in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Set<ChannelPart>? parts, int? maxResults, String? onBehalfOfContentOwner, String? pageToken, String? regionCode, List<String>? id, String? hl, String? forUsername, bool? managedByMe, bool? mine}) ChannelOptions
getMap(String key) Map<String, String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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