copyWithWrapped method

TransferRepaymentReturn copyWithWrapped({
  1. Wrapped<String>? transferId,
  2. Wrapped<int>? eventId,
  3. Wrapped<String>? amount,
  4. Wrapped<String>? isoCurrencyCode,
})

Implementation

TransferRepaymentReturn copyWithWrapped(
    {Wrapped<String>? transferId,
    Wrapped<int>? eventId,
    Wrapped<String>? amount,
    Wrapped<String>? isoCurrencyCode}) {
  return TransferRepaymentReturn(
      transferId: (transferId != null ? transferId.value : this.transferId),
      eventId: (eventId != null ? eventId.value : this.eventId),
      amount: (amount != null ? amount.value : this.amount),
      isoCurrencyCode: (isoCurrencyCode != null
          ? isoCurrencyCode.value
          : this.isoCurrencyCode));
}