toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TeletextPageType.pageTypeInitial:
      return 'PAGE_TYPE_INITIAL';
    case TeletextPageType.pageTypeSubtitle:
      return 'PAGE_TYPE_SUBTITLE';
    case TeletextPageType.pageTypeAddlInfo:
      return 'PAGE_TYPE_ADDL_INFO';
    case TeletextPageType.pageTypeProgramSchedule:
      return 'PAGE_TYPE_PROGRAM_SCHEDULE';
    case TeletextPageType.pageTypeHearingImpairedSubtitle:
      return 'PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE';
  }
}