BetterAliyunOssClient class

阿里云上传

Constructors

BetterAliyunOssClient(Future<BetterAliyunOssCredentials?> credentials(), {bool enableLog = true})

Properties

credentials Future<BetterAliyunOssCredentials?> Function()
final
enableLog bool
final
eventStream Stream<BetterAliyunOssClientEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelPutObject(BetterAliyunOssClientRequest request) Future
取消上传数据
completeMultipartUpload({required List<BetterAliyunOssPart> partList}) Future<Tuple2<String?, BetterAliyunOssClientException?>>
文件分片上传第三步:完成整个文件的分片上传
dispose() → dynamic
initiateMultipartUpload({required AsyncValueGetter<String> bucket, required AsyncValueGetter<String> endpoint, AsyncValueGetter<String>? domain, required String objectPath, required String filePath, required String contentType}) Future<Tuple2<List<BetterAliyunOssPart>?, BetterAliyunOssClientException?>>
文件分片上传第一步:初始化一个分片上传事件
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putObject({required AsyncValueGetter<String> bucket, required AsyncValueGetter<String> endpoint, AsyncValueGetter<String>? domain, required String objectPath, String? path, Uint8List? buffer, required String contentType}) BetterAliyunOssClientRequest
上传数据
toString() String
A string representation of this object.
inherited
uploadPart({required BetterAliyunOssPart part}) BetterAliyunOssClientRequest
文件分片上传第二步:分片上传数据

Operators

operator ==(Object other) bool
The equality operator.
inherited