ThreadRequest class
Represents a raw object sent from the main thread.
- Implementers
Constructors
- ThreadRequest.new({required String id, required Image image, required bool singleFrame, required int pngLevel, required OutputFormat outputFormat, required PngFilter pngFilter, required int jpegQuality, required JpegChroma jpegChroma})
-
Constructs an ImageConvertThreadRequest instance.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for this task.
final
- image → Image
-
The image object from the
image
package.final - jpegChroma → JpegChroma
-
Specifies the chroma subsampling method for JPEG images.
final
- jpegQuality → int
-
Specifies the quality level for JPEG images. Ranges from 2 to 100.
final
- outputFormat → OutputFormat
-
Specifies the output format for the generated image.
final
- pngFilter → PngFilter
-
Specifies the filter method for optimizing PNG compression.
final
- pngLevel → int
-
Specifies the compression level for PNG images. Ranges from 0 to 9.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleFrame → bool
-
Specifies whether single frame generation is enabled for the output formats PNG, TIFF, CUR, PVR, and ICO.
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