toJson method
Implementation
Map<String, dynamic> toJson() {
final audioDescriptionBroadcasterMix = this.audioDescriptionBroadcasterMix;
final bitrate = this.bitrate;
final codecProfile = this.codecProfile;
final codingMode = this.codingMode;
final rateControlMode = this.rateControlMode;
final rawFormat = this.rawFormat;
final sampleRate = this.sampleRate;
final specification = this.specification;
final vbrQuality = this.vbrQuality;
return {
if (audioDescriptionBroadcasterMix != null)
'audioDescriptionBroadcasterMix':
audioDescriptionBroadcasterMix.toValue(),
if (bitrate != null) 'bitrate': bitrate,
if (codecProfile != null) 'codecProfile': codecProfile.toValue(),
if (codingMode != null) 'codingMode': codingMode.toValue(),
if (rateControlMode != null) 'rateControlMode': rateControlMode.toValue(),
if (rawFormat != null) 'rawFormat': rawFormat.toValue(),
if (sampleRate != null) 'sampleRate': sampleRate,
if (specification != null) 'specification': specification.toValue(),
if (vbrQuality != null) 'vbrQuality': vbrQuality.toValue(),
};
}