HlsSettings.fromJson constructor
HlsSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HlsSettings.fromJson(Map<String, dynamic> json) {
return HlsSettings(
audioOnlyHlsSettings: json['audioOnlyHlsSettings'] != null
? AudioOnlyHlsSettings.fromJson(
json['audioOnlyHlsSettings'] as Map<String, dynamic>)
: null,
fmp4HlsSettings: json['fmp4HlsSettings'] != null
? Fmp4HlsSettings.fromJson(
json['fmp4HlsSettings'] as Map<String, dynamic>)
: null,
standardHlsSettings: json['standardHlsSettings'] != null
? StandardHlsSettings.fromJson(
json['standardHlsSettings'] as Map<String, dynamic>)
: null,
);
}