WidgetQueryTypeData class

The query contains data for the bot

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

WidgetQueryTypeData({required bool withWallet})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withWallet → bool
withWallet True, if the TON wallet card of the user who sends the query is sent to the bot along with the query
final

Methods

copyWith({bool? withWallet}) → WidgetQueryTypeData

Available on WidgetQueryTypeData, provided by the WidgetQueryTypeDataExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult data(WidgetQueryTypeData value), required TResult signData(WidgetQueryTypeSignData value), required TResult sentTransaction(WidgetQueryTypeSentTransaction value)}) → TResult

Available on WidgetQueryType, provided by the WidgetQueryTypeExtensions extension

maybeMap<TResult extends Object?>({TResult data(WidgetQueryTypeData value)?, TResult signData(WidgetQueryTypeSignData value)?, TResult sentTransaction(WidgetQueryTypeSentTransaction value)?, required TResult orElse()}) → TResult

Available on WidgetQueryType, provided by the WidgetQueryTypeExtensions extension

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

Constants

constructor → const String