toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SegmentType.dimensional:
      return 'DIMENSIONAL';
    case SegmentType.import:
      return 'IMPORT';
  }
}