Eac3AtmosSettings.fromJson constructor
Eac3AtmosSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Eac3AtmosSettings.fromJson(Map<String, dynamic> json) {
return Eac3AtmosSettings(
bitrate: json['bitrate'] as int?,
bitstreamMode:
(json['bitstreamMode'] as String?)?.toEac3AtmosBitstreamMode(),
codingMode: (json['codingMode'] as String?)?.toEac3AtmosCodingMode(),
dialogueIntelligence: (json['dialogueIntelligence'] as String?)
?.toEac3AtmosDialogueIntelligence(),
dynamicRangeCompressionLine:
(json['dynamicRangeCompressionLine'] as String?)
?.toEac3AtmosDynamicRangeCompressionLine(),
dynamicRangeCompressionRf: (json['dynamicRangeCompressionRf'] as String?)
?.toEac3AtmosDynamicRangeCompressionRf(),
loRoCenterMixLevel: json['loRoCenterMixLevel'] as double?,
loRoSurroundMixLevel: json['loRoSurroundMixLevel'] as double?,
ltRtCenterMixLevel: json['ltRtCenterMixLevel'] as double?,
ltRtSurroundMixLevel: json['ltRtSurroundMixLevel'] as double?,
meteringMode:
(json['meteringMode'] as String?)?.toEac3AtmosMeteringMode(),
sampleRate: json['sampleRate'] as int?,
speechThreshold: json['speechThreshold'] as int?,
stereoDownmix:
(json['stereoDownmix'] as String?)?.toEac3AtmosStereoDownmix(),
surroundExMode:
(json['surroundExMode'] as String?)?.toEac3AtmosSurroundExMode(),
);
}