toCmafSegmentControl method
Implementation
CmafSegmentControl toCmafSegmentControl() {
switch (this) {
case 'SINGLE_FILE':
return CmafSegmentControl.singleFile;
case 'SEGMENTED_FILES':
return CmafSegmentControl.segmentedFiles;
}
throw Exception('$this is not known in enum CmafSegmentControl');
}