This commit is contained in:
Hexah 2020-06-30 01:02:58 +02:00
parent 1e0cd15782
commit 0d16e9613b
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ class PlaylistClient {
VideoId(videoId),
video.title,
video.author,
video.authorId,
video.channelId,
video.uploadDate,
video.description,
video.duration,

View File

@ -65,7 +65,7 @@ class _Video {
String get author => _root['author'];
ChannelId get authorId => ChannelId('UC${_root['user_id']}');
ChannelId get channelId => ChannelId('UC${_root['user_id']}');
DateTime get uploadDate =>
DateTime.fromMillisecondsSinceEpoch(_root['time_created'] * 1000);

View File

@ -32,7 +32,7 @@ class SearchClient {
VideoId(videoId),
video.title,
video.author,
video.authorId,
video.channelId,
video.uploadDate,
video.description,
video.duration,