copyWithWrapped method
Implementation
AssetInfoSchemaV2 copyWithWrapped(
{Wrapped<String?>? balance,
Wrapped<String>? contractAddress,
Wrapped<String?>? dexPriceUsd,
Wrapped<enums.AssetKindSchema>? kind,
Wrapped<AssetMetaSchemaV2?>? meta,
Wrapped<int?>? pairPriority,
Wrapped<List<String>?>? tags,
Wrapped<String?>? walletAddress}) {
return AssetInfoSchemaV2(
balance: (balance != null ? balance.value : this.balance),
contractAddress: (contractAddress != null
? contractAddress.value
: this.contractAddress),
dexPriceUsd:
(dexPriceUsd != null ? dexPriceUsd.value : this.dexPriceUsd),
kind: (kind != null ? kind.value : this.kind),
meta: (meta != null ? meta.value : this.meta),
pairPriority:
(pairPriority != null ? pairPriority.value : this.pairPriority),
tags: (tags != null ? tags.value : this.tags),
walletAddress:
(walletAddress != null ? walletAddress.value : this.walletAddress));
}