SfAliyunOss class

Constructors

SfAliyunOss()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

accessKeyId String
read / write
endPoint String
read / write
policy String
read / write
signature String
read / write

Static Methods

cacheFile(String dir, String srcFilePath, {String prefix = '', int encrypt = 0}) Future<String>
generateFileKey(String filePath, {String prefix = '', int encrypt = 0}) String
getFilePath(String dir, String fileKey) String
getFileUrl(String dir, String fileKey) String
getImageUrl(String fileKey, {String mode, int width, int height, int short, int long, int limit, int percent}) String
initialize(int accountId, String _accessKeyId, String accessKeySecret, String region, String bucket) → void
isEncryptFile(String path) int
uploadFile(String dir, String filePath, {String fileName, ProgressCallback onSendProgress}) Future<Response>
uploadImage(String filePath, {String fileName, ProgressCallback onSendProgress}) Future<Response>
uploadVoice(String filePath, {String fileName, ProgressCallback onSendProgress}) Future<Response>