copyWithWrapped method

StandaloneInvestmentTransactionType copyWithWrapped({
  1. Wrapped<String>? buy,
  2. Wrapped<String>? sell,
  3. Wrapped<String>? cancel,
  4. Wrapped<String>? cash,
  5. Wrapped<String>? fee,
  6. Wrapped<String>? transfer,
})

Implementation

StandaloneInvestmentTransactionType copyWithWrapped(
    {Wrapped<String>? buy,
    Wrapped<String>? sell,
    Wrapped<String>? cancel,
    Wrapped<String>? cash,
    Wrapped<String>? fee,
    Wrapped<String>? transfer}) {
  return StandaloneInvestmentTransactionType(
      buy: (buy != null ? buy.value : this.buy),
      sell: (sell != null ? sell.value : this.sell),
      cancel: (cancel != null ? cancel.value : this.cancel),
      cash: (cash != null ? cash.value : this.cash),
      fee: (fee != null ? fee.value : this.fee),
      transfer: (transfer != null ? transfer.value : this.transfer));
}