PlaylistImageSnippet class
A playlistImage resource identifies another resource, such as a image, that is associated with a playlist.
In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a channel, which is a collection of a person, group, or company's videos, playlists, and other YouTube information. You can retrieve the playlist IDs for each of these lists from the channel resource for a given channel. You can then use the playlistImages.list method to retrieve image data for any of those playlists. You can also add or remove images from those lists by calling the playlistImages.insert and playlistImages.delete methods.
Constructors
- PlaylistImageSnippet({int? height, String? playlistId, String? type, int? width})
- PlaylistImageSnippet.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ int?
-
The image height.
getter/setter pair
- playlistId ↔ String?
-
The Playlist ID of the playlist this image is associated with.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
The image type.
Possible string values are:
getter/setter pair
- width ↔ int?
-
The image width.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited