toAuditReportStatus method

AuditReportStatus toAuditReportStatus()

Implementation

AuditReportStatus toAuditReportStatus() {
  switch (this) {
    case 'CREATING':
      return AuditReportStatus.creating;
    case 'SUCCESS':
      return AuditReportStatus.success;
    case 'FAILED':
      return AuditReportStatus.failed;
  }
  throw Exception('$this is not known in enum AuditReportStatus');
}