OptimizationConfig constructor
OptimizationConfig({})
Creates an optimization config with defaults.
Implementation
OptimizationConfig({
this.jpegQuality = 85,
this.webpQuality = 80,
this.resize,
this.convertToWebp = false,
this.convertToJpeg = true,
this.stripMetadata = true,
});