toHlsOutputSelection method
Implementation
HlsOutputSelection toHlsOutputSelection() {
switch (this) {
case 'MANIFESTS_AND_SEGMENTS':
return HlsOutputSelection.manifestsAndSegments;
case 'SEGMENTS_ONLY':
return HlsOutputSelection.segmentsOnly;
case 'VARIANT_MANIFESTS_AND_SEGMENTS':
return HlsOutputSelection.variantManifestsAndSegments;
}
throw Exception('$this is not known in enum HlsOutputSelection');
}