toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuditTaskType.onDemandAuditTask:
      return 'ON_DEMAND_AUDIT_TASK';
    case AuditTaskType.scheduledAuditTask:
      return 'SCHEDULED_AUDIT_TASK';
  }
}