ImageDetails constructor
ImageDetails({
- ImageFormat? format,
- int? quality,
Implementation
ImageDetails({
/// The format of the resulting image. Default is `"jpeg"`.
ImageFormat? format,
/// When format is `"jpeg"`, controls the quality of the resulting image.
/// This value is ignored for PNG images. As quality is decreased, the
/// resulting image will have more visual artifacts, and the number of bytes
/// needed to store it will decrease.
int? quality,
}) : _wrapped = $js.ImageDetails(
format: format?.toJS,
quality: quality,
);