copyWithWrapped method

CreditEmploymentItem copyWithWrapped({
  1. Wrapped<String>? itemId,
  2. Wrapped<List<CreditEmploymentVerification>>? employments,
  3. Wrapped<String?>? employmentReportToken,
})

Implementation

CreditEmploymentItem copyWithWrapped(
    {Wrapped<String>? itemId,
    Wrapped<List<CreditEmploymentVerification>>? employments,
    Wrapped<String?>? employmentReportToken}) {
  return CreditEmploymentItem(
      itemId: (itemId != null ? itemId.value : this.itemId),
      employments:
          (employments != null ? employments.value : this.employments),
      employmentReportToken: (employmentReportToken != null
          ? employmentReportToken.value
          : this.employmentReportToken));
}