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