copyWithWrapped method

CreditPayrollIncomeGetResponse copyWithWrapped({
  1. Wrapped<List<PayrollItem>>? items,
  2. Wrapped<PlaidError?>? error,
  3. Wrapped<String>? requestId,
})

Implementation

CreditPayrollIncomeGetResponse copyWithWrapped(
    {Wrapped<List<PayrollItem>>? items,
    Wrapped<PlaidError?>? error,
    Wrapped<String>? requestId}) {
  return CreditPayrollIncomeGetResponse(
      items: (items != null ? items.value : this.items),
      error: (error != null ? error.value : this.error),
      requestId: (requestId != null ? requestId.value : this.requestId));
}