Linter fix

This commit is contained in:
Hexah 2020-06-14 12:14:21 +02:00
parent 23e6e54245
commit 39563e1c1d
4 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,5 @@
import '../channels/channel_id.dart';
import '../playlists/playlist_id.dart';
/// Metadata related to a search query result (channel)
class SearchChannel {
/// ChannelId.

View File

@ -1,11 +1,9 @@
import 'package:youtube_explode_dart/src/search/search_query.dart'
show SearchQuery;
import '../common/common.dart';
import '../reverse_engineering/responses/playerlist_response.dart';
import '../reverse_engineering/youtube_http_client.dart';
import '../videos/video.dart';
import '../videos/video_id.dart';
import 'search_query.dart';
/// YouTube search queries.
class SearchClient {

View File

@ -11,6 +11,7 @@ class SearchPlaylist {
/// Playlist video count, cannot be greater than 50.
final int playlistVideoCount;
/// Initialize an instance of [SearchPlaylist]
SearchPlaylist(this.playlistId, this.playlistTitle, this.playlistVideoCount);
@override

View File

@ -33,6 +33,7 @@ class ClosedCaptionClient {
return ClosedCaptionManifest(tracks);
}
///
Future<ClosedCaptionTrack> get(ClosedCaptionTrackInfo trackInfo) async {
var response = await ClosedCaptionTrackResponse.get(
_httpClient, trackInfo.url.toString());