WalletBotBalance class

Describes balance of the current user in the bot https://t.me/walt

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

WalletBotBalance({required bool hasBalance, required String url})
const

Properties

hasBalance → bool
hasBalance True, if the user has positive TON Gram balance
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String
url The URL to open to launch the bot; may be empty if none
final

Methods

copyWith({bool? hasBalance, String? url}) → WalletBotBalance

Available on WalletBotBalance, provided by the WalletBotBalanceExtensions 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) → WalletBotBalance?

Constants

constructor → const String