copyWithWrapped method

BankTransferSweep copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<DateTime>? createdAt,
  3. Wrapped<String>? amount,
  4. Wrapped<String>? isoCurrencyCode,
})

Implementation

BankTransferSweep copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<DateTime>? createdAt,
    Wrapped<String>? amount,
    Wrapped<String>? isoCurrencyCode}) {
  return BankTransferSweep(
      id: (id != null ? id.value : this.id),
      createdAt: (createdAt != null ? createdAt.value : this.createdAt),
      amount: (amount != null ? amount.value : this.amount),
      isoCurrencyCode: (isoCurrencyCode != null
          ? isoCurrencyCode.value
          : this.isoCurrencyCode));
}