copyWithWrapped method

LinkTokenCreateRequestPaymentInitiation copyWithWrapped({
  1. Wrapped<String?>? paymentId,
  2. Wrapped<String?>? consentId,
})

Implementation

LinkTokenCreateRequestPaymentInitiation copyWithWrapped(
    {Wrapped<String?>? paymentId, Wrapped<String?>? consentId}) {
  return LinkTokenCreateRequestPaymentInitiation(
      paymentId: (paymentId != null ? paymentId.value : this.paymentId),
      consentId: (consentId != null ? consentId.value : this.consentId));
}