This commit is contained in:
Hexah 2020-06-22 17:41:39 +02:00
parent 6f0f3601cc
commit 358dd52fa1
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,6 @@ class PlaylistResponse {
// Json parsed map
final Map<String, dynamic> _root;
String get title => _root['title'];
String get author => _root['author'];

View File

@ -44,7 +44,7 @@ class YoutubeHttpClient extends http.BaseClient {
Future<String> getString(dynamic url,
{Map<String, String> headers, bool validate = true}) async {
var response = await get(url, headers: headers);
if (validate) {
_validateResponse(response, response.statusCode);
}