TonWalletCard class
Describes a TON wallet card, which is shown on the profile page of a user to everyone
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
-
TonWalletCard({required String address, required int gramAmount, required List<
TonWalletCardSticker> stickers, required String backgroundNftAddress}) -
const
Properties
- address → String
-
address Address of the wallet
final
- backgroundNftAddress → String
-
backgroundNftAddress Address of the NFT of one of the stickers, whose
colors must be used for the card background; may be empty if the default
background must be used
final
- gramAmount → int
-
gramAmount Balance of the wallet, in the smallest units of TON Grams;
may be slightly outdated
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stickers
→ List<
TonWalletCardSticker> -
stickers Stickers placed on the card
final
Methods
-
copyWith(
{String? address, int? gramAmount, List< TonWalletCardSticker> ? stickers, String? backgroundNftAddress}) → TonWalletCard -
Available on TonWalletCard, provided by the TonWalletCardExtensions 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) → TonWalletCard?
Constants
- constructor → const String