toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final colorCorrector = this.colorCorrector;
  final deinterlacer = this.deinterlacer;
  final dolbyVision = this.dolbyVision;
  final imageInserter = this.imageInserter;
  final noiseReducer = this.noiseReducer;
  final partnerWatermarking = this.partnerWatermarking;
  final timecodeBurnin = this.timecodeBurnin;
  return {
    if (colorCorrector != null) 'colorCorrector': colorCorrector,
    if (deinterlacer != null) 'deinterlacer': deinterlacer,
    if (dolbyVision != null) 'dolbyVision': dolbyVision,
    if (imageInserter != null) 'imageInserter': imageInserter,
    if (noiseReducer != null) 'noiseReducer': noiseReducer,
    if (partnerWatermarking != null)
      'partnerWatermarking': partnerWatermarking,
    if (timecodeBurnin != null) 'timecodeBurnin': timecodeBurnin,
  };
}