toCmafWriteSegmentTimelineInRepresentation method
Implementation
CmafWriteSegmentTimelineInRepresentation
toCmafWriteSegmentTimelineInRepresentation() {
switch (this) {
case 'ENABLED':
return CmafWriteSegmentTimelineInRepresentation.enabled;
case 'DISABLED':
return CmafWriteSegmentTimelineInRepresentation.disabled;
}
throw Exception(
'$this is not known in enum CmafWriteSegmentTimelineInRepresentation');
}