copyWithWrapped method

ScheduledSubTransaction copyWithWrapped({
  1. Wrapped<String>? id,
  2. Wrapped<String>? scheduledTransactionId,
  3. Wrapped<num>? amount,
  4. Wrapped<String?>? memo,
  5. Wrapped<String?>? payeeId,
  6. Wrapped<String?>? categoryId,
  7. Wrapped<String?>? transferAccountId,
  8. Wrapped<bool>? deleted,
})

Implementation

ScheduledSubTransaction copyWithWrapped(
    {Wrapped<String>? id,
    Wrapped<String>? scheduledTransactionId,
    Wrapped<num>? amount,
    Wrapped<String?>? memo,
    Wrapped<String?>? payeeId,
    Wrapped<String?>? categoryId,
    Wrapped<String?>? transferAccountId,
    Wrapped<bool>? deleted}) {
  return ScheduledSubTransaction(
      id: (id != null ? id.value : this.id),
      scheduledTransactionId: (scheduledTransactionId != null
          ? scheduledTransactionId.value
          : this.scheduledTransactionId),
      amount: (amount != null ? amount.value : this.amount),
      memo: (memo != null ? memo.value : this.memo),
      payeeId: (payeeId != null ? payeeId.value : this.payeeId),
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      transferAccountId: (transferAccountId != null
          ? transferAccountId.value
          : this.transferAccountId),
      deleted: (deleted != null ? deleted.value : this.deleted));
}