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