toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReportFileFormat.html:
      return 'HTML';
    case ReportFileFormat.pdf:
      return 'PDF';
  }
}