OSSImageObject class
quality
压缩存在问题,如果当图片没有exif将无法压缩
Constructors
- OSSImageObject.fromBytes({required Uint8List bytes, required MediaType mediaType, String? uuid})
-
factory
- OSSImageObject.fromFile({required File file, String? uuid})
-
factory
Properties
- bytes → Uint8List
-
finalinherited
- folderPath → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → int
-
no setterinherited
- mediaType → MediaType
-
no setterinherited
- name → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setterinherited
- url ↔ String
-
getter/setter pairinherited
- uuid → String?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resourcePath(
String? path) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadSuccessful(
String url) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited