SearchVideo class

Metadata related to a search query result (video).

Mixed in types
Annotations
  • @freezed

Constructors

SearchVideo(VideoId id, String title, String author, String description, String duration, int viewCount, List<Thumbnail> thumbnails, String? uploadDate, bool isLive, String channelId)
Initialize a SearchVideo instance.
const
factory

Properties

author String
Video author.
no setterinherited
channelId String
Channel id
no setterinherited
copyWith → $SearchVideoCopyWith<SearchVideo>
no setterinherited
description String
Video description snippet. (Part of the full description if too long)
no setterinherited
duration String
Video duration as String, HH:MM:SS
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id VideoId
Video ID.
no setterinherited
isLive bool
True if this video is a live stream.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thumbnails List<Thumbnail>
Video thumbnail
no setterinherited
title String
Video title.
no setterinherited
uploadDate String?
Video upload date - As string: 5 years ago.
no setterinherited
viewCount 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