toScte35SegmentationCancelIndicator method
Implementation
Scte35SegmentationCancelIndicator toScte35SegmentationCancelIndicator() {
switch (this) {
case 'SEGMENTATION_EVENT_NOT_CANCELED':
return Scte35SegmentationCancelIndicator.segmentationEventNotCanceled;
case 'SEGMENTATION_EVENT_CANCELED':
return Scte35SegmentationCancelIndicator.segmentationEventCanceled;
}
throw Exception(
'$this is not known in enum Scte35SegmentationCancelIndicator');
}