sendFileMessageRequest static method

Future<int> sendFileMessageRequest(
  1. String path,
  2. int filetype
)

构建文件上传请求

Implementation

static Future<int> sendFileMessageRequest(String path, int filetype) async {
  int eCode = await _channel.invokeMethod("sendFileMessageRequest",{
    "path": path,
    "filetype": filetype
  });
  return eCode;
}