copyWithWrapped method

TransferRefund copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? transferId,
  3. Wrapped<String>? amount,
  4. Wrapped<TransferRefundStatus>? status,
  5. Wrapped<DateTime>? created,
})

Implementation

TransferRefund copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? transferId,
    Wrapped<String>? amount,
    Wrapped<enums.TransferRefundStatus>? status,
    Wrapped<DateTime>? created}) {
  return TransferRefund(
      id: (id != null ? id.value : this.id),
      transferId: (transferId != null ? transferId.value : this.transferId),
      amount: (amount != null ? amount.value : this.amount),
      status: (status != null ? status.value : this.status),
      created: (created != null ? created.value : this.created));
}