PremiumSubscriptionOption class

Premium Subscription Option.

ID: 5f2d1df2.

Inheritance

Constructors

PremiumSubscriptionOption({required bool current, required bool canPurchaseUpgrade, String? transaction, required int months, required String currency, required int amount, required String botUrl, String? storeProduct})
Premium Subscription Option constructor.
const
PremiumSubscriptionOption.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

amount int
Amount.
final
botUrl String
Bot Url.
final
canPurchaseUpgrade bool
can_purchase_upgrade: bit 2 of flags.2?true
final
currency String
Currency.
final
current bool
current: bit 1 of flags.1?true
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
months int
Months.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeProduct String?
Store Product.
final
transaction String?
Transaction.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited