toSmoothGroupSegmentationMode method

SmoothGroupSegmentationMode toSmoothGroupSegmentationMode()

Implementation

SmoothGroupSegmentationMode toSmoothGroupSegmentationMode() {
  switch (this) {
    case 'USE_INPUT_SEGMENTATION':
      return SmoothGroupSegmentationMode.useInputSegmentation;
    case 'USE_SEGMENT_DURATION':
      return SmoothGroupSegmentationMode.useSegmentDuration;
  }
  throw Exception('$this is not known in enum SmoothGroupSegmentationMode');
}