getDownloadLink method

String getDownloadLink ({String res })
override

Implementation

String getDownloadLink({String res}) {
  String url;

  videos.forEach((f) {
    if (f.res == res) {
      url = f.url;
      return;
    }
  });

  return url;
}