YoutubeMetaData class Null safety

Meta data for Youtube Video.

Constructors

YoutubeMetaData({String videoId = '', String title = '', String author = '', Duration duration = const Duration()})
Creates YoutubeMetaData for Youtube Video.
const
YoutubeMetaData.fromRawData(dynamic rawData)
Creates YoutubeMetaData from raw json video data.
factory

Properties

author String
Channel name or uploader of the currently loaded video.
final
duration Duration
Total duration of the currently loaded video.
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
title String
Video title of the currently loaded video.
final
videoId String
Youtube video ID of the currently loaded video.
final

Methods

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

Operators

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