TonWalletCardSticker class

Describes a sticker on a TON wallet card

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TonWalletCardSticker({required AreaPosition position, required TonNft nft})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
nft → TonNft
nft The NFT shown as the sticker. If nft.gift is non-null, then it is enough to draw the sticker and there is no need to download the media of the NFT
final
position → AreaPosition
position Position of the sticker on the card
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({AreaPosition? position, TonNft? nft}) → TonWalletCardSticker

Available on TonWalletCardSticker, provided by the TonWalletCardStickerExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) → TonWalletCardSticker?

Constants

constructor → const String