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