copyWithWrapped method

EmploymentVerification copyWithWrapped({
  1. Wrapped<EmploymentVerificationStatus?>? status,
  2. Wrapped<DateTime?>? startDate,
  3. Wrapped<DateTime?>? endDate,
  4. Wrapped<EmployerVerification?>? employer,
  5. Wrapped<String?>? title,
  6. Wrapped<PlatformIds?>? platformIds,
})

Implementation

EmploymentVerification copyWithWrapped(
    {Wrapped<enums.EmploymentVerificationStatus?>? status,
    Wrapped<DateTime?>? startDate,
    Wrapped<DateTime?>? endDate,
    Wrapped<EmployerVerification?>? employer,
    Wrapped<String?>? title,
    Wrapped<PlatformIds?>? platformIds}) {
  return EmploymentVerification(
      status: (status != null ? status.value : this.status),
      startDate: (startDate != null ? startDate.value : this.startDate),
      endDate: (endDate != null ? endDate.value : this.endDate),
      employer: (employer != null ? employer.value : this.employer),
      title: (title != null ? title.value : this.title),
      platformIds:
          (platformIds != null ? platformIds.value : this.platformIds));
}