copyWithWrapped method

Implementation

LinkTokenCreateRequestIncomeVerification copyWithWrapped(
    {Wrapped<String?>? incomeVerificationId,
    Wrapped<String?>? assetReportId,
    Wrapped<String?>? precheckId,
    Wrapped<List<String>?>? accessTokens,
    Wrapped<List<enums.IncomeVerificationSourceType>?>? incomeSourceTypes,
    Wrapped<LinkTokenCreateRequestIncomeVerificationBankIncome?>? bankIncome,
    Wrapped<LinkTokenCreateRequestIncomeVerificationPayrollIncome?>?
        payrollIncome,
    Wrapped<List<LinkTokenCreateRequestUserStatedIncomeSource>?>?
        statedIncomeSources}) {
  return LinkTokenCreateRequestIncomeVerification(
      incomeVerificationId: (incomeVerificationId != null
          ? incomeVerificationId.value
          : this.incomeVerificationId),
      assetReportId:
          (assetReportId != null ? assetReportId.value : this.assetReportId),
      precheckId: (precheckId != null ? precheckId.value : this.precheckId),
      accessTokens:
          (accessTokens != null ? accessTokens.value : this.accessTokens),
      incomeSourceTypes: (incomeSourceTypes != null
          ? incomeSourceTypes.value
          : this.incomeSourceTypes),
      bankIncome: (bankIncome != null ? bankIncome.value : this.bankIncome),
      payrollIncome:
          (payrollIncome != null ? payrollIncome.value : this.payrollIncome),
      statedIncomeSources: (statedIncomeSources != null
          ? statedIncomeSources.value
          : this.statedIncomeSources));
}