YoutubeMetaData class
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
-
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.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited