putObject method
- AliyunOssPutObjectRequest putObjectRequest
简单文件上传
Implementation
Future<PutObjectEventHandler> putObject(
AliyunOssPutObjectRequest putObjectRequest) async {
String taskId = await _channel.invokeMethod(
"putObject", {...putObjectRequest.toMap(), "clientKey": _clientKey});
final PutObjectEventHandler handler =
new PutObjectEventHandler(taskId: taskId);
_handlers[taskId] = handler;
return handler;
}