VideoSnippet class

Basic details about a video, including title, description, uploader, thumbnails and category.

Constructors

VideoSnippet({String? categoryId, String? channelId, String? channelTitle, String? defaultAudioLanguage, String? defaultLanguage, String? description, String? liveBroadcastContent, VideoLocalization? localized, DateTime? publishedAt, List<String>? tags, ThumbnailDetails? thumbnails, String? title})
VideoSnippet.fromJson(Map json_)

Properties

categoryId String?
The YouTube video category associated with the video.
getter/setter pair
channelId String?
The ID that YouTube uses to uniquely identify the channel that the video was uploaded to.
getter/setter pair
channelTitle String?
Channel title for the channel that the video belongs to.
getter/setter pair
defaultAudioLanguage String?
The default_audio_language property specifies the language spoken in the video's default audio track.
getter/setter pair
defaultLanguage String?
The language of the videos's default snippet.
getter/setter pair
description String?
The video's description.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
liveBroadcastContent String?
Indicates if the video is an upcoming/active live broadcast.
getter/setter pair
localized VideoLocalization?
Localized snippet selected with the hl parameter.
getter/setter pair
publishedAt DateTime?
The date and time when the video was uploaded.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
A list of keyword tags associated with the video.
getter/setter pair
thumbnails ThumbnailDetails?
A map of thumbnail images associated with the video.
getter/setter pair
title String?
The video's title.
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