Cleanup
This commit is contained in:
parent
1e0cd15782
commit
0d16e9613b
|
@ -49,7 +49,7 @@ class PlaylistClient {
|
|||
VideoId(videoId),
|
||||
video.title,
|
||||
video.author,
|
||||
video.authorId,
|
||||
video.channelId,
|
||||
video.uploadDate,
|
||||
video.description,
|
||||
video.duration,
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -32,7 +32,7 @@ class SearchClient {
|
|||
VideoId(videoId),
|
||||
video.title,
|
||||
video.author,
|
||||
video.authorId,
|
||||
video.channelId,
|
||||
video.uploadDate,
|
||||
video.description,
|
||||
video.duration,
|
||||
|
|
Loading…
Reference in New Issue