toReportFormatType method

ReportFormatType toReportFormatType()

Implementation

ReportFormatType toReportFormatType() {
  switch (this) {
    case 'text/csv':
      return ReportFormatType.textCsv;
  }
  throw Exception('$this is not known in enum ReportFormatType');
}