SearchResult.playlist constructor
const
SearchResult.playlist(
- PlaylistId id,
- String title,
- int videoCount,
- List<
Thumbnail> thumbnails,
Metadata related to a search query result (playlist)
Implementation
const factory SearchResult.playlist(
/// PlaylistId.
PlaylistId id,
/// Playlist title.
String title,
/// Playlist video count, cannot be greater than 50.
int videoCount,
/// Video thumbnail
List<Thumbnail> thumbnails,
) = SearchPlaylist;