get static method

Implementation

static Future<List<DGDirectLinkModel>> get(String url) async {
  final List<DGDirectLinkModel> links = [];
   links.add(DGDirectLinkModel(quality: 'Normal', link: url.replaceAll('?dl=0', '?dl=1')));
 return links;
}