Ac3Settings.fromJson constructor
Ac3Settings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Ac3Settings.fromJson(Map<String, dynamic> json) {
return Ac3Settings(
bitrate: json['bitrate'] as double?,
bitstreamMode: (json['bitstreamMode'] as String?)?.toAc3BitstreamMode(),
codingMode: (json['codingMode'] as String?)?.toAc3CodingMode(),
dialnorm: json['dialnorm'] as int?,
drcProfile: (json['drcProfile'] as String?)?.toAc3DrcProfile(),
lfeFilter: (json['lfeFilter'] as String?)?.toAc3LfeFilter(),
metadataControl:
(json['metadataControl'] as String?)?.toAc3MetadataControl(),
);
}