copyWithWrapped method

TransactionsGetResponse copyWithWrapped({
  1. Wrapped<List<AccountBase>>? accounts,
  2. Wrapped<List<Transaction>>? transactions,
  3. Wrapped<int>? totalTransactions,
  4. Wrapped<Item>? item,
  5. Wrapped<String>? requestId,
})

Implementation

TransactionsGetResponse copyWithWrapped(
    {Wrapped<List<AccountBase>>? accounts,
    Wrapped<List<Transaction>>? transactions,
    Wrapped<int>? totalTransactions,
    Wrapped<Item>? item,
    Wrapped<String>? requestId}) {
  return TransactionsGetResponse(
      accounts: (accounts != null ? accounts.value : this.accounts),
      transactions:
          (transactions != null ? transactions.value : this.transactions),
      totalTransactions: (totalTransactions != null
          ? totalTransactions.value
          : this.totalTransactions),
      item: (item != null ? item.value : this.item),
      requestId: (requestId != null ? requestId.value : this.requestId));
}