toDashIsoWriteSegmentTimelineInRepresentation method

DashIsoWriteSegmentTimelineInRepresentation toDashIsoWriteSegmentTimelineInRepresentation()

Implementation

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