getDownloadLink method

  1. @override
String? getDownloadLink({
  1. String? res,
})
override

Implementation

@override
String? getDownloadLink({String? res}) {
  String? url;

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

  return url;
}