SearchVideo class Null safety

Metadata related to a search query result (video).

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

Properties

author String
Video author.
final
channelId String
Channel id
final
description String
Video description snippet. (Part of the full description if too long)
final
duration String
Video duration as String, HH:MM:SS
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id VideoId
Video ID.
final
isLive bool
True if this video is a live stream.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnails List<Thumbnail>
Video thumbnail
final
title String
Video title.
final
uploadDate String?
Video upload date - As string: 5 years ago.
final
viewCount int
Video View Count
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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