toReportFileFormat method

ReportFileFormat toReportFileFormat()

Implementation

ReportFileFormat toReportFileFormat() {
  switch (this) {
    case 'HTML':
      return ReportFileFormat.html;
    case 'PDF':
      return ReportFileFormat.pdf;
  }
  throw Exception('$this is not known in enum ReportFileFormat');
}