HlsSettings.fromJson constructor
HlsSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory HlsSettings.fromJson(Map<String, dynamic> json) {
return HlsSettings(
audioGroupId: json['audioGroupId'] as String?,
audioOnlyContainer:
(json['audioOnlyContainer'] as String?)?.toHlsAudioOnlyContainer(),
audioRenditionSets: json['audioRenditionSets'] as String?,
audioTrackType:
(json['audioTrackType'] as String?)?.toHlsAudioTrackType(),
iFrameOnlyManifest:
(json['iFrameOnlyManifest'] as String?)?.toHlsIFrameOnlyManifest(),
segmentModifier: json['segmentModifier'] as String?,
);
}