copyWith method

ChatRevenueTransaction copyWith({
  1. String? cryptocurrency,
  2. int? cryptocurrencyAmount,
  3. ChatRevenueTransactionType? type,
})

Implementation

ChatRevenueTransaction copyWith({
  String? cryptocurrency,
  int? cryptocurrencyAmount,
  ChatRevenueTransactionType? type,
}) =>
    ChatRevenueTransaction(
      cryptocurrency: cryptocurrency ?? this.cryptocurrency,
      cryptocurrencyAmount: cryptocurrencyAmount ?? this.cryptocurrencyAmount,
      type: type ?? this.type,
    );