toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SegmentTemplateFormat.numberWithTimeline:
      return 'NUMBER_WITH_TIMELINE';
    case SegmentTemplateFormat.timeWithTimeline:
      return 'TIME_WITH_TIMELINE';
    case SegmentTemplateFormat.numberWithDuration:
      return 'NUMBER_WITH_DURATION';
  }
}