copyWithWrapped method

ItemStatusNullable copyWithWrapped({
  1. Wrapped<ItemStatusInvestments?>? investments,
  2. Wrapped<ItemStatusTransactions?>? transactions,
  3. Wrapped<ItemStatusLastWebhook?>? lastWebhook,
})

Implementation

ItemStatusNullable copyWithWrapped(
    {Wrapped<ItemStatusInvestments?>? investments,
    Wrapped<ItemStatusTransactions?>? transactions,
    Wrapped<ItemStatusLastWebhook?>? lastWebhook}) {
  return ItemStatusNullable(
      investments:
          (investments != null ? investments.value : this.investments),
      transactions:
          (transactions != null ? transactions.value : this.transactions),
      lastWebhook:
          (lastWebhook != null ? lastWebhook.value : this.lastWebhook));
}