ImageCompressorResult class

Constructors

ImageCompressorResult({required File file, required int bytes, required int qualityUsed, required SizeInfo sizeInfo})

Properties

bytes → int
压缩后大小,单位:字节
final
file → File
压缩后文件
final
hashCode → int
The hash code for this object.
no setterinherited
qualityUsed → int
压缩后质量,0-100
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeInfo → SizeInfo
压缩后图片信息
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