TonWalletCardSticker constructor
const
TonWalletCardSticker({
- @JsonKey.new(name: 'position') required AreaPosition position,
- @JsonKey.new(name: 'nft') required TonNft nft,
Creates a TonWalletCardSticker.
Implementation
const factory TonWalletCardSticker({
/// Position of the sticker on the card.
@JsonKey(name: 'position') required AreaPosition position,
/// NFT displayed as the sticker.
@JsonKey(name: 'nft') required TonNft nft,
}) = _TonWalletCardSticker;