HcImageCompressionInterface class abstract
Image compression engine
Constructors
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
-
compress(
HcImageFileConfiguration param) → Future< ImageFile> - Compressing image into supported format
-
compressJpg(
HcImageFileConfiguration param) → Future< ImageFile> - Compressing image into JPG
-
compressPng(
HcImageFileConfiguration param) → Future< ImageFile> - Compressing image into PNG
-
compressWebpThenJpg(
HcImageFileConfiguration param) → Future< ImageFile> - Compressing image into WEBP if platform supported, otherwise JPG
-
compressWebpThenPng(
HcImageFileConfiguration param) → Future< ImageFile> - Compressing image into WEBP if platform supported, otherwise PNG
-
dummyCallNativeCode(
String method, Map< String, dynamic> data, Future<ImageFile> callback()) → Future -
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