AudioCodecSettings.fromJson constructor
AudioCodecSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AudioCodecSettings.fromJson(Map<String, dynamic> json) {
return AudioCodecSettings(
aacSettings: json['aacSettings'] != null
? AacSettings.fromJson(json['aacSettings'] as Map<String, dynamic>)
: null,
ac3Settings: json['ac3Settings'] != null
? Ac3Settings.fromJson(json['ac3Settings'] as Map<String, dynamic>)
: null,
eac3Settings: json['eac3Settings'] != null
? Eac3Settings.fromJson(json['eac3Settings'] as Map<String, dynamic>)
: null,
mp2Settings: json['mp2Settings'] != null
? Mp2Settings.fromJson(json['mp2Settings'] as Map<String, dynamic>)
: null,
passThroughSettings: json['passThroughSettings'] != null
? PassThroughSettings.fromJson(
json['passThroughSettings'] as Map<String, dynamic>)
: null,
wavSettings: json['wavSettings'] != null
? WavSettings.fromJson(json['wavSettings'] as Map<String, dynamic>)
: null,
);
}