toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DvbSubDestinationFontColor.black:
      return 'BLACK';
    case DvbSubDestinationFontColor.blue:
      return 'BLUE';
    case DvbSubDestinationFontColor.green:
      return 'GREEN';
    case DvbSubDestinationFontColor.red:
      return 'RED';
    case DvbSubDestinationFontColor.white:
      return 'WHITE';
    case DvbSubDestinationFontColor.yellow:
      return 'YELLOW';
  }
}