toJson method
Implementation
Map<String, dynamic> toJson() {
final bitrate = this.bitrate;
final bitstreamMode = this.bitstreamMode;
final codingMode = this.codingMode;
final dialogueIntelligence = this.dialogueIntelligence;
final dynamicRangeCompressionLine = this.dynamicRangeCompressionLine;
final dynamicRangeCompressionRf = this.dynamicRangeCompressionRf;
final loRoCenterMixLevel = this.loRoCenterMixLevel;
final loRoSurroundMixLevel = this.loRoSurroundMixLevel;
final ltRtCenterMixLevel = this.ltRtCenterMixLevel;
final ltRtSurroundMixLevel = this.ltRtSurroundMixLevel;
final meteringMode = this.meteringMode;
final sampleRate = this.sampleRate;
final speechThreshold = this.speechThreshold;
final stereoDownmix = this.stereoDownmix;
final surroundExMode = this.surroundExMode;
return {
if (bitrate != null) 'bitrate': bitrate,
if (bitstreamMode != null) 'bitstreamMode': bitstreamMode.toValue(),
if (codingMode != null) 'codingMode': codingMode.toValue(),
if (dialogueIntelligence != null)
'dialogueIntelligence': dialogueIntelligence.toValue(),
if (dynamicRangeCompressionLine != null)
'dynamicRangeCompressionLine': dynamicRangeCompressionLine.toValue(),
if (dynamicRangeCompressionRf != null)
'dynamicRangeCompressionRf': dynamicRangeCompressionRf.toValue(),
if (loRoCenterMixLevel != null) 'loRoCenterMixLevel': loRoCenterMixLevel,
if (loRoSurroundMixLevel != null)
'loRoSurroundMixLevel': loRoSurroundMixLevel,
if (ltRtCenterMixLevel != null) 'ltRtCenterMixLevel': ltRtCenterMixLevel,
if (ltRtSurroundMixLevel != null)
'ltRtSurroundMixLevel': ltRtSurroundMixLevel,
if (meteringMode != null) 'meteringMode': meteringMode.toValue(),
if (sampleRate != null) 'sampleRate': sampleRate,
if (speechThreshold != null) 'speechThreshold': speechThreshold,
if (stereoDownmix != null) 'stereoDownmix': stereoDownmix.toValue(),
if (surroundExMode != null) 'surroundExMode': surroundExMode.toValue(),
};
}