copyWith method

EvmCoinEntity copyWith({
  1. String? name,
  2. String? symbol,
  3. int? decimals,
  4. int? chainID,
  5. bool? allowDeletion,
})

Implementation

EvmCoinEntity copyWith({
  String? name,
  String? symbol,
  int? decimals,
  int? chainID,
  bool? allowDeletion,
}) {
  return EvmCoinEntity(
    name: name ?? this.name,
    symbol: symbol ?? this.symbol,
    decimals: decimals ?? this.decimals,
    chainID: chainID ?? this.chainID,
    allowDeletion: allowDeletion ?? this.allowDeletion,
  );
}