YoutubeMetaData class

Metadata for the currently loaded video. Fields are empty or zero until a video loads.

Constructors

YoutubeMetaData({String videoId = '', String title = '', String author = '', Duration duration = const Duration()})
const

Properties

author → String
final
duration → Duration
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final
videoId → String
final

Methods

copyWith({String? videoId, String? title, String? author, Duration? duration}) → YoutubeMetaData
Returns a copy of this meta data with the given fields replaced.
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.
override