WidgetQueryWallet class
Describes the user's TON wallet used in a widget query
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- WidgetQueryWallet({required String address, required int gramAmount, required String publicKey, required String stateInit})
-
const
Properties
- address → String
-
address Address of the wallet
final
- gramAmount → int
-
gramAmount Balance of the wallet, in the smallest units of TON Grams
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- publicKey → String
-
publicKey Public key of the wallet; may be empty if unknown
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stateInit → String
-
stateInit Serialized StateInit of the wallet contract; must be empty if
and only if public_key is empty
final
Methods
-
copyWith(
{String? address, int? gramAmount, String? publicKey, String? stateInit}) → WidgetQueryWallet -
Available on WidgetQueryWallet, provided by the WidgetQueryWalletExtensions 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) → WidgetQueryWallet?
Constants
- constructor → const String