copyWith method

InvestmentsTransactionsGetResponse copyWith({
  1. Item? item,
  2. List<AccountBase>? accounts,
  3. List<Security>? securities,
  4. List<InvestmentTransaction>? investmentTransactions,
  5. int? totalInvestmentTransactions,
  6. String? requestId,
})

Implementation

InvestmentsTransactionsGetResponse copyWith(
    {Item? item,
    List<AccountBase>? accounts,
    List<Security>? securities,
    List<InvestmentTransaction>? investmentTransactions,
    int? totalInvestmentTransactions,
    String? requestId}) {
  return InvestmentsTransactionsGetResponse(
      item: item ?? this.item,
      accounts: accounts ?? this.accounts,
      securities: securities ?? this.securities,
      investmentTransactions:
          investmentTransactions ?? this.investmentTransactions,
      totalInvestmentTransactions:
          totalInvestmentTransactions ?? this.totalInvestmentTransactions,
      requestId: requestId ?? this.requestId);
}