toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final audioSelectorGroups = this.audioSelectorGroups;
  final audioSelectors = this.audioSelectors;
  final captionSelectors = this.captionSelectors;
  final crop = this.crop;
  final deblockFilter = this.deblockFilter;
  final decryptionSettings = this.decryptionSettings;
  final denoiseFilter = this.denoiseFilter;
  final fileInput = this.fileInput;
  final filterEnable = this.filterEnable;
  final filterStrength = this.filterStrength;
  final imageInserter = this.imageInserter;
  final inputClippings = this.inputClippings;
  final inputScanType = this.inputScanType;
  final position = this.position;
  final programNumber = this.programNumber;
  final psiControl = this.psiControl;
  final supplementalImps = this.supplementalImps;
  final timecodeSource = this.timecodeSource;
  final timecodeStart = this.timecodeStart;
  final videoSelector = this.videoSelector;
  return {
    if (audioSelectorGroups != null)
      'audioSelectorGroups': audioSelectorGroups,
    if (audioSelectors != null) 'audioSelectors': audioSelectors,
    if (captionSelectors != null) 'captionSelectors': captionSelectors,
    if (crop != null) 'crop': crop,
    if (deblockFilter != null) 'deblockFilter': deblockFilter.toValue(),
    if (decryptionSettings != null) 'decryptionSettings': decryptionSettings,
    if (denoiseFilter != null) 'denoiseFilter': denoiseFilter.toValue(),
    if (fileInput != null) 'fileInput': fileInput,
    if (filterEnable != null) 'filterEnable': filterEnable.toValue(),
    if (filterStrength != null) 'filterStrength': filterStrength,
    if (imageInserter != null) 'imageInserter': imageInserter,
    if (inputClippings != null) 'inputClippings': inputClippings,
    if (inputScanType != null) 'inputScanType': inputScanType.toValue(),
    if (position != null) 'position': position,
    if (programNumber != null) 'programNumber': programNumber,
    if (psiControl != null) 'psiControl': psiControl.toValue(),
    if (supplementalImps != null) 'supplementalImps': supplementalImps,
    if (timecodeSource != null) 'timecodeSource': timecodeSource.toValue(),
    if (timecodeStart != null) 'timecodeStart': timecodeStart,
    if (videoSelector != null) 'videoSelector': videoSelector,
  };
}