OSSClient class
Methods
-
getObject(OSSObjectGet ossObject, {String? bucket, ProgressCallback? onReceiveProgress, String? endpoint})
→ Future<void>
-
-
listObject({String? bucket, String? endpoint, String rootKey = "", bool deep = true})
→ Future<List<OSSObject>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
putObject(OSSObjectPut object, {String? bucket, String? endpoint, String? path, ProgressCallback? onSendProgress})
→ Future<OSSObjectPut>
-
bucket
endpoint
一次性生效
path
上传路径 如不写则自动以 Objecttype
time
生成path
-
toString()
→ String
-
A string representation of this object.
inherited
-
verify()
→ Future<void>
-
验证检查
Static Methods
-
init({required String endpoint, required String bucket, required Future<Credentials> credentials()})
→ OSSClient
-
- 初始化设置
endpoint
bucket
getCredentials
credentials
获取 Credentials
- 一旦初始化,则
signer
清空,上传前会重新拉取oss信息