copyWithWrapped method

TransferRepayment copyWithWrapped({
  1. Wrapped<String>? repaymentId,
  2. Wrapped<DateTime>? created,
  3. Wrapped<String>? amount,
  4. Wrapped<String>? isoCurrencyCode,
})

Implementation

TransferRepayment copyWithWrapped(
    {Wrapped<String>? repaymentId,
    Wrapped<DateTime>? created,
    Wrapped<String>? amount,
    Wrapped<String>? isoCurrencyCode}) {
  return TransferRepayment(
      repaymentId:
          (repaymentId != null ? repaymentId.value : this.repaymentId),
      created: (created != null ? created.value : this.created),
      amount: (amount != null ? amount.value : this.amount),
      isoCurrencyCode: (isoCurrencyCode != null
          ? isoCurrencyCode.value
          : this.isoCurrencyCode));
}