copyWithWrapped method

ExternalPaymentRefundDetails copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<String?>? iban,
  3. Wrapped<RecipientBACSNullable?>? bacs,
})

Implementation

ExternalPaymentRefundDetails copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String?>? iban,
    Wrapped<RecipientBACSNullable?>? bacs}) {
  return ExternalPaymentRefundDetails(
      name: (name != null ? name.value : this.name),
      iban: (iban != null ? iban.value : this.iban),
      bacs: (bacs != null ? bacs.value : this.bacs));
}