Configuration constructor

const Configuration({
  1. int quality = 80,
  2. ImageOutputType outputType = ImageOutputType.webpThenJpg,
  3. bool useJpgPngNativeCompressor = false,
})

Implementation

const Configuration({
  this.quality = 80,
  this.outputType = ImageOutputType.webpThenJpg,
  this.useJpgPngNativeCompressor = false,
}) : assert(quality > 0 && quality <= 100);