COSPutObject extension

on

Methods

putObject({required String bucket, required String key, String? filePath, Uint8List? byteArr, void progress(int uploadedBytes, int totalBytes)?, String? region, Map<String, String>? headers, Map<String, String>? params}) Future<void>
上传对象 参考文档: https://cloud.tencent.com/document/product/436/7749 filePath 文件路径 byteArr 文件字节数组,需要自行传入 Content-Type 头部