copyWithWrapped method

CreditEmploymentVerification copyWithWrapped({
  1. Wrapped<String?>? accountId,
  2. Wrapped<String?>? status,
  3. Wrapped<DateTime?>? startDate,
  4. Wrapped<DateTime?>? endDate,
  5. Wrapped<CreditEmployerVerification>? employer,
  6. Wrapped<String?>? title,
  7. Wrapped<CreditPlatformIds>? platformIds,
  8. Wrapped<String?>? employeeType,
  9. Wrapped<DateTime?>? lastPaystubDate,
})

Implementation

CreditEmploymentVerification copyWithWrapped(
    {Wrapped<String?>? accountId,
    Wrapped<String?>? status,
    Wrapped<DateTime?>? startDate,
    Wrapped<DateTime?>? endDate,
    Wrapped<CreditEmployerVerification>? employer,
    Wrapped<String?>? title,
    Wrapped<CreditPlatformIds>? platformIds,
    Wrapped<String?>? employeeType,
    Wrapped<DateTime?>? lastPaystubDate}) {
  return CreditEmploymentVerification(
      accountId: (accountId != null ? accountId.value : this.accountId),
      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),
      employeeType:
          (employeeType != null ? employeeType.value : this.employeeType),
      lastPaystubDate: (lastPaystubDate != null
          ? lastPaystubDate.value
          : this.lastPaystubDate));
}