toReportVersioning method

ReportVersioning toReportVersioning()

Implementation

ReportVersioning toReportVersioning() {
  switch (this) {
    case 'CREATE_NEW_REPORT':
      return ReportVersioning.createNewReport;
    case 'OVERWRITE_REPORT':
      return ReportVersioning.overwriteReport;
  }
  throw Exception('$this is not known in enum ReportVersioning');
}