ChannelVideo class

Metadata related to a search query result (playlist)

Annotations
  • @freezed

Constructors

ChannelVideo(VideoId videoId, String videoTitle, Duration videoDuration, String videoThumbnail, String videoUploadDate, int videoViews)
const
factory

Properties

copyWith → $ChannelVideoCopyWith<ChannelVideo>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoDuration Duration
Video duration
no setterinherited
videoId VideoId
Video ID.
no setterinherited
videoThumbnail String
Video thumbnail
no setterinherited
videoTitle String
Video title.
no setterinherited
videoUploadDate String
Video upload date. Formatted like 10 hours ago
no setterinherited
videoViews int
Video view count.
no setterinherited

Methods

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

Operators

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