downloadElement method
- dynamic link,
- dynamic eltType,
- dynamic savePath
Fonction faisant appel aux fonctions de téléchargement en fonction du type de fichier passé en paramètre
Implementation
Future<String> downloadElement(link, eltType, savePath) async{
Map<String,Function(String,String)> functionMap = _bindParser(this);
return await functionMap[eltType]!.call(link,savePath);
}