copyWith method
Create a copy with updated values
Implementation
CompressionOptions copyWith({
String? outputFormat,
bool? keepMetadata,
Map<String, dynamic>? customOptions,
}) {
return CompressionOptions(
outputFormat: outputFormat ?? this.outputFormat,
keepMetadata: keepMetadata ?? this.keepMetadata,
customOptions: customOptions ?? this.customOptions,
);
}