copyWith method
- String? name,
- String? symbol,
- int? decimals,
- String? contractAddress,
- BigInt? tokenId,
- bool? allowDeletion,
- int? chainID,
override
Implementation
ERC1155Entity copyWith({
String? name,
String? symbol,
int? decimals,
String? contractAddress,
BigInt? tokenId,
bool? allowDeletion,
int? chainID,
}) {
return ERC1155Entity(
name: name ?? this.name,
symbol: symbol ?? this.symbol,
contractAddress: contractAddress ?? this.contractAddress,
tokenId: tokenId ?? this.tokenId,
allowDeletion: allowDeletion ?? this.allowDeletion,
chainID: chainID ?? this.chainID,
);
}