CompressObject class
Constructors
- CompressObject({File? imageFile, String? path, CompressMode mode = CompressMode.AUTO, int quality = 80, int step = 6, bool autoRatio = true})
Properties
- autoRatio → bool
-
If you are not sure whether the image detail property is correct, set true, otherwise the compressed ratio may be incorrect
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageFile → File?
-
final
- mode → CompressMode
-
final
- path → String?
-
final
- quality → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step → int
-
final
Methods
-
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