copyWith method

ExportSettings copyWith({
  1. ExportResolution? resolution,
  2. ExportFrameRate? frameRate,
  3. ExportQuality? quality,
  4. bool? watermark,
  5. String? fileName,
})

Implementation

ExportSettings copyWith({
  ExportResolution? resolution,
  ExportFrameRate? frameRate,
  ExportQuality? quality,
  bool? watermark,
  String? fileName,
}) {
  return ExportSettings(
    resolution: resolution ?? this.resolution,
    frameRate: frameRate ?? this.frameRate,
    quality: quality ?? this.quality,
    watermark: watermark ?? this.watermark,
    fileName: fileName ?? this.fileName,
  );
}