copyWithWrapped method

PaymentInitiationConsentGetRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? consentId,
})

Implementation

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