copyWith method
AssetInfoSchemaV2
copyWith({
- String? balance,
- String? contractAddress,
- String? dexPriceUsd,
- AssetKindSchema? kind,
- AssetMetaSchemaV2? meta,
- int? pairPriority,
- List<
String> ? tags, - String? walletAddress,
Implementation
AssetInfoSchemaV2 copyWith(
{String? balance,
String? contractAddress,
String? dexPriceUsd,
enums.AssetKindSchema? kind,
AssetMetaSchemaV2? meta,
int? pairPriority,
List<String>? tags,
String? walletAddress}) {
return AssetInfoSchemaV2(
balance: balance ?? this.balance,
contractAddress: contractAddress ?? this.contractAddress,
dexPriceUsd: dexPriceUsd ?? this.dexPriceUsd,
kind: kind ?? this.kind,
meta: meta ?? this.meta,
pairPriority: pairPriority ?? this.pairPriority,
tags: tags ?? this.tags,
walletAddress: walletAddress ?? this.walletAddress);
}