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
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