copyWith method

StandaloneInvestmentTransactionSubtype copyWith({
  1. String? accountFee,
  2. String? assignment,
  3. String? buy,
  4. String? buyToCover,
  5. String? contribution,
  6. String? deposit,
  7. String? distribution,
  8. String? dividend,
  9. String? dividendReinvestment,
  10. String? exercise,
  11. String? expire,
  12. String? fundFee,
  13. String? interest,
  14. String? interestReceivable,
  15. String? interestReinvestment,
  16. String? legalFee,
  17. String? loanPayment,
  18. String? longTermCapitalGain,
  19. String? longTermCapitalGainReinvestment,
  20. String? managementFee,
  21. String? marginExpense,
  22. String? merger,
  23. String? miscellaneousFee,
  24. String? nonQualifiedDividend,
  25. String? nonResidentTax,
  26. String? pendingCredit,
  27. String? pendingDebit,
  28. String? qualifiedDividend,
  29. String? rebalance,
  30. String? returnOfPrincipal,
  31. String? sell,
  32. String? sellShort,
  33. String? shortTermCapitalGain,
  34. String? shortTermCapitalGainReinvestment,
  35. String? spinOff,
  36. String? split,
  37. String? stockDistribution,
  38. String? tax,
  39. String? taxWithheld,
  40. String? transfer,
  41. String? transferFee,
  42. String? trustFee,
  43. String? unqualifiedGain,
  44. String? withdrawal,
})

Implementation

StandaloneInvestmentTransactionSubtype copyWith(
    {String? accountFee,
    String? assignment,
    String? buy,
    String? buyToCover,
    String? contribution,
    String? deposit,
    String? distribution,
    String? dividend,
    String? dividendReinvestment,
    String? exercise,
    String? expire,
    String? fundFee,
    String? interest,
    String? interestReceivable,
    String? interestReinvestment,
    String? legalFee,
    String? loanPayment,
    String? longTermCapitalGain,
    String? longTermCapitalGainReinvestment,
    String? managementFee,
    String? marginExpense,
    String? merger,
    String? miscellaneousFee,
    String? nonQualifiedDividend,
    String? nonResidentTax,
    String? pendingCredit,
    String? pendingDebit,
    String? qualifiedDividend,
    String? rebalance,
    String? returnOfPrincipal,
    String? sell,
    String? sellShort,
    String? shortTermCapitalGain,
    String? shortTermCapitalGainReinvestment,
    String? spinOff,
    String? split,
    String? stockDistribution,
    String? tax,
    String? taxWithheld,
    String? transfer,
    String? transferFee,
    String? trustFee,
    String? unqualifiedGain,
    String? withdrawal}) {
  return StandaloneInvestmentTransactionSubtype(
      accountFee: accountFee ?? this.accountFee,
      assignment: assignment ?? this.assignment,
      buy: buy ?? this.buy,
      buyToCover: buyToCover ?? this.buyToCover,
      contribution: contribution ?? this.contribution,
      deposit: deposit ?? this.deposit,
      distribution: distribution ?? this.distribution,
      dividend: dividend ?? this.dividend,
      dividendReinvestment: dividendReinvestment ?? this.dividendReinvestment,
      exercise: exercise ?? this.exercise,
      expire: expire ?? this.expire,
      fundFee: fundFee ?? this.fundFee,
      interest: interest ?? this.interest,
      interestReceivable: interestReceivable ?? this.interestReceivable,
      interestReinvestment: interestReinvestment ?? this.interestReinvestment,
      legalFee: legalFee ?? this.legalFee,
      loanPayment: loanPayment ?? this.loanPayment,
      longTermCapitalGain: longTermCapitalGain ?? this.longTermCapitalGain,
      longTermCapitalGainReinvestment: longTermCapitalGainReinvestment ??
          this.longTermCapitalGainReinvestment,
      managementFee: managementFee ?? this.managementFee,
      marginExpense: marginExpense ?? this.marginExpense,
      merger: merger ?? this.merger,
      miscellaneousFee: miscellaneousFee ?? this.miscellaneousFee,
      nonQualifiedDividend: nonQualifiedDividend ?? this.nonQualifiedDividend,
      nonResidentTax: nonResidentTax ?? this.nonResidentTax,
      pendingCredit: pendingCredit ?? this.pendingCredit,
      pendingDebit: pendingDebit ?? this.pendingDebit,
      qualifiedDividend: qualifiedDividend ?? this.qualifiedDividend,
      rebalance: rebalance ?? this.rebalance,
      returnOfPrincipal: returnOfPrincipal ?? this.returnOfPrincipal,
      sell: sell ?? this.sell,
      sellShort: sellShort ?? this.sellShort,
      shortTermCapitalGain: shortTermCapitalGain ?? this.shortTermCapitalGain,
      shortTermCapitalGainReinvestment: shortTermCapitalGainReinvestment ??
          this.shortTermCapitalGainReinvestment,
      spinOff: spinOff ?? this.spinOff,
      split: split ?? this.split,
      stockDistribution: stockDistribution ?? this.stockDistribution,
      tax: tax ?? this.tax,
      taxWithheld: taxWithheld ?? this.taxWithheld,
      transfer: transfer ?? this.transfer,
      transferFee: transferFee ?? this.transferFee,
      trustFee: trustFee ?? this.trustFee,
      unqualifiedGain: unqualifiedGain ?? this.unqualifiedGain,
      withdrawal: withdrawal ?? this.withdrawal);
}