toJson method
Implementation
Map<String, dynamic> toJson() {
final audioPackingMode = this.audioPackingMode;
final bitRate = this.bitRate;
final channels = this.channels;
final codec = this.codec;
final codecOptions = this.codecOptions;
final sampleRate = this.sampleRate;
return {
if (audioPackingMode != null) 'AudioPackingMode': audioPackingMode,
if (bitRate != null) 'BitRate': bitRate,
if (channels != null) 'Channels': channels,
if (codec != null) 'Codec': codec,
if (codecOptions != null) 'CodecOptions': codecOptions,
if (sampleRate != null) 'SampleRate': sampleRate,
};
}