CompressParams class

Constructors

CompressParams({IsolateImage? image, Uint8List? imageData, int? maxSize, ImageResolution? maxResolution = ImageResolution.uhd, ImageFormat? format})
Parameters used for compression

Properties

format ImageFormat?
format - the image format you want to compress.
final
hashCode int
The hash code for this object.
no setterinherited
image IsolateImage?
image - the image used for compression.
final
imageData Uint8List?
imageData - the image data used for compression.
final
maxResolution ImageResolution?
maxResolution - the maximum resolution compressed.
final
maxSize int?
maxSize - compressed file size limit (Bytes).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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