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