toJson method
Implementation
Map<String, dynamic> toJson() {
final aacSettings = this.aacSettings;
final ac3Settings = this.ac3Settings;
final eac3Settings = this.eac3Settings;
final mp2Settings = this.mp2Settings;
final passThroughSettings = this.passThroughSettings;
final wavSettings = this.wavSettings;
return {
if (aacSettings != null) 'aacSettings': aacSettings,
if (ac3Settings != null) 'ac3Settings': ac3Settings,
if (eac3Settings != null) 'eac3Settings': eac3Settings,
if (mp2Settings != null) 'mp2Settings': mp2Settings,
if (passThroughSettings != null)
'passThroughSettings': passThroughSettings,
if (wavSettings != null) 'wavSettings': wavSettings,
};
}