dartfmt
This commit is contained in:
parent
386069c8a4
commit
fff8719fdf
|
@ -33,16 +33,16 @@ class SearchVideo extends BaseSearchContent {
|
|||
|
||||
/// Initialize a [SearchVideo] instance.
|
||||
const SearchVideo(
|
||||
this.id,
|
||||
this.title,
|
||||
this.author,
|
||||
this.description,
|
||||
this.duration,
|
||||
this.viewCount,
|
||||
this.thumbnails,
|
||||
this.uploadDate,
|
||||
this.id,
|
||||
this.title,
|
||||
this.author,
|
||||
this.description,
|
||||
this.duration,
|
||||
this.viewCount,
|
||||
this.thumbnails,
|
||||
this.uploadDate,
|
||||
this.isLive // ignore: avoid_positional_boolean_parameters
|
||||
);
|
||||
);
|
||||
|
||||
@override
|
||||
String toString() => '(Video) $title ($id)';
|
||||
|
|
|
@ -12,8 +12,7 @@ void main() {
|
|||
});
|
||||
|
||||
test('Search a youtube video from the api', () async {
|
||||
var videos =
|
||||
await yt.search.getVideos('undead corporation megalomania');
|
||||
var videos = await yt.search.getVideos('undead corporation megalomania');
|
||||
expect(videos, isNotEmpty);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue