copyWithWrapped method

Implementation

LinkTokenCreateRequestUserStatedIncomeSource copyWithWrapped(
    {Wrapped<String?>? employer,
    Wrapped<enums.UserStatedIncomeSourceCategory?>? category,
    Wrapped<double?>? payPerCycle,
    Wrapped<double?>? payAnnual,
    Wrapped<enums.UserStatedIncomeSourcePayType?>? payType,
    Wrapped<enums.UserStatedIncomeSourceFrequency?>? payFrequency}) {
  return LinkTokenCreateRequestUserStatedIncomeSource(
      employer: (employer != null ? employer.value : this.employer),
      category: (category != null ? category.value : this.category),
      payPerCycle:
          (payPerCycle != null ? payPerCycle.value : this.payPerCycle),
      payAnnual: (payAnnual != null ? payAnnual.value : this.payAnnual),
      payType: (payType != null ? payType.value : this.payType),
      payFrequency:
          (payFrequency != null ? payFrequency.value : this.payFrequency));
}