copyWith method
TonNft
copyWith(
{ - String? collectionAddress,
- String? address,
- String? ownerAddress,
- String? index,
- String? name,
- String? description,
- PhotoSize? image,
- PhotoSize? thumbnail,
- Document? content,
- Sticker? sticker,
- List<TonNftAttribute>? attributes,
- UpgradedGift? gift,
})
Implementation
TonNft copyWith({
String? collectionAddress,
String? address,
String? ownerAddress,
String? index,
String? name,
String? description,
PhotoSize? image,
PhotoSize? thumbnail,
Document? content,
Sticker? sticker,
List<TonNftAttribute>? attributes,
JsonValue? extra,
UpgradedGift? gift,
}) =>
TonNft(
collectionAddress: collectionAddress ?? this.collectionAddress,
address: address ?? this.address,
ownerAddress: ownerAddress ?? this.ownerAddress,
index: index ?? this.index,
name: name ?? this.name,
description: description ?? this.description,
image: image ?? this.image,
thumbnail: thumbnail ?? this.thumbnail,
content: content ?? this.content,
sticker: sticker ?? this.sticker,
attributes: attributes ?? this.attributes,
extra: extra ?? this.extra,
gift: gift ?? this.gift,
);