Video class

Information about a YouTube video.

Inheritance

Constructors

Video(String id, String author, DateTime uploadDate, String title, String description, ThumbnailSet thumbnailSet, Duration duration, List<String> keyWords, Statistics statistics)
Initializes an instance of Video
const

Properties

author String
Author of this video.
final
description String
Description of this video.
final
duration Duration
Duration of this video.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
ID of this video.
final
keyWords List<String>
Search keywords of this video.
final
props List<Object>
The List of props (properties) which will be used to determine whether two Equatables are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statistics Statistics
Statistics of this video.
final
stringify bool
If the value is true, the toString method will be overrided to print the equatable props.
read-only, inherited
thumbnailSet ThumbnailSet
Thumbnails of this video.
final
title String
Title of this video.
final
uploadDate DateTime
Upload date of this video. null for MediaStreamInfoSet.videoDetails
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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