copyWith method

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

Implementation

StandaloneInvestmentTransactionType copyWith(
    {String? buy,
    String? sell,
    String? cancel,
    String? cash,
    String? fee,
    String? transfer}) {
  return StandaloneInvestmentTransactionType(
      buy: buy ?? this.buy,
      sell: sell ?? this.sell,
      cancel: cancel ?? this.cancel,
      cash: cash ?? this.cash,
      fee: fee ?? this.fee,
      transfer: transfer ?? this.transfer);
}