toJson method
Implementation
Map<String, dynamic> toJson() {
final audioSelectors = this.audioSelectors;
final captionSelectors = this.captionSelectors;
final deblockFilter = this.deblockFilter;
final denoiseFilter = this.denoiseFilter;
final filterStrength = this.filterStrength;
final inputFilter = this.inputFilter;
final networkInputSettings = this.networkInputSettings;
final smpte2038DataPreference = this.smpte2038DataPreference;
final sourceEndBehavior = this.sourceEndBehavior;
final videoSelector = this.videoSelector;
return {
if (audioSelectors != null) 'audioSelectors': audioSelectors,
if (captionSelectors != null) 'captionSelectors': captionSelectors,
if (deblockFilter != null) 'deblockFilter': deblockFilter.toValue(),
if (denoiseFilter != null) 'denoiseFilter': denoiseFilter.toValue(),
if (filterStrength != null) 'filterStrength': filterStrength,
if (inputFilter != null) 'inputFilter': inputFilter.toValue(),
if (networkInputSettings != null)
'networkInputSettings': networkInputSettings,
if (smpte2038DataPreference != null)
'smpte2038DataPreference': smpte2038DataPreference.toValue(),
if (sourceEndBehavior != null)
'sourceEndBehavior': sourceEndBehavior.toValue(),
if (videoSelector != null) 'videoSelector': videoSelector,
};
}