copyWith method

DexStats copyWith({
  1. int? trades,
  2. String? tvl,
  3. int? uniqueWallets,
  4. String? volumeUsd,
})

Implementation

DexStats copyWith(
    {int? trades, String? tvl, int? uniqueWallets, String? volumeUsd}) {
  return DexStats(
      trades: trades ?? this.trades,
      tvl: tvl ?? this.tvl,
      uniqueWallets: uniqueWallets ?? this.uniqueWallets,
      volumeUsd: volumeUsd ?? this.volumeUsd);
}