downloadFile static method
下载文件
Implementation
static Future<int> downloadFile(String key, int filetype, String pathExtension) async {
int eCode = await _channel.invokeMethod("downloadFile",{
"key": key,
"filetype": filetype,
"pathExtension": pathExtension
});
return eCode;
}