toBusinessReportFormat method

BusinessReportFormat toBusinessReportFormat()

Implementation

BusinessReportFormat toBusinessReportFormat() {
  switch (this) {
    case 'CSV':
      return BusinessReportFormat.csv;
    case 'CSV_ZIP':
      return BusinessReportFormat.csvZip;
  }
  throw Exception('$this is not known in enum BusinessReportFormat');
}