downloadFile static method

Future<int> downloadFile(
  1. String key,
  2. int filetype,
  3. String pathExtension
)

下载文件

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;
}