PDFCompressorParams constructor
const
PDFCompressorParams({})
Create parameters for the pdfCompressor
method.
Implementation
const PDFCompressorParams(
{required this.pdfPath,
required this.imageQuality,
required this.imageScale,
this.unEmbedFonts = false})
: assert(imageScale > 0 || imageScale <= 5,
'imageScale should be greater than 0 and less tan or equal to 5'),
assert(imageQuality > 0 || imageQuality <= 100,
'imageQuality should be greater than 0 and less tan or equal to 100');