Playlist class Null safety

YouTube playlist metadata.

Annotations

Constructors

Playlist(PlaylistId id, String title, String author, String description, ThumbnailSet thumbnails, Engagement engagement)
Initializes an instance of Playlist.
const
factory

Properties

author String
Playlist author. Can be null if it's a system playlist (e.g. Video Mix, Topics, etc.).
read-only, inherited
copyWith → $PlaylistCopyWith<Playlist>
@JsonKey(ignore: true), read-only, inherited
description String
Playlist description.
read-only, inherited
engagement Engagement
Engagement statistics.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id PlaylistId
Playlist ID.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thumbnails ThumbnailSet
Available thumbnails for this playlist. Can be null if the playlist is empty.
read-only, inherited
title String
Playlist title.
read-only, inherited
url String
Playlist URL.
read-only

Methods

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

Operators

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