toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuditReportStatus.creating:
      return 'CREATING';
    case AuditReportStatus.success:
      return 'SUCCESS';
    case AuditReportStatus.failed:
      return 'FAILED';
  }
}