get method
Gets the metadata associated with the specified playlist.
Implementation
Future<Playlist> get(dynamic id) async {
id = PlaylistId.fromString(id);
final response =
await PlaylistPage.get(_httpClient, (id as PlaylistId).value);
return Playlist(
id,
response.title ?? '',
response.author ?? '',
response.description ?? '',
ThumbnailSet(id.value),
Engagement(response.viewCount ?? 0, null, null),
response.videoCount,
);
}