OssUtil class
Constructors
- OssUtil()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getImageUploadName(
String? uploadPath, String filePath) → String - 生成上传上传图片的名称 ,获得的格式:photo/20171027175940_oCiobK 可以定义上传的路径uploadPath(Oss中保存文件夹的名称) @param uploadPath 上传的路径 如:/photo @return photo/20171027175940_oCiobK
-
getRandom(
int num) → String -
getSignature(
String _accessKeySecret) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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
-
getter/setter pair
- accessKeySecret ↔ String
-
getter/setter pair
- instance → OssUtil
-
no setter
- policy ↔ String
-
getter/setter pair
- stsToken ↔ String
-
getter/setter pair