toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuditTaskStatus.inProgress:
      return 'IN_PROGRESS';
    case AuditTaskStatus.completed:
      return 'COMPLETED';
    case AuditTaskStatus.failed:
      return 'FAILED';
    case AuditTaskStatus.canceled:
      return 'CANCELED';
  }
}