ProductInfo class

Details of a product.

Constructors

ProductInfo.new({String? productId, int? priceType, String? price, int? microsPrice, String? originalLocalPrice, int? originalMicroPrice, String? currency, String? productName, String? productDesc, int? subSpecialPriceMicros, int? subSpecialPeriodCycles, int? subProductLevel, int? status, int? offerUsedStatus, String? subFreeTrialPeriod, String? subGroupId, String? subGroupTitle, String? subSpecialPeriod, String? subPeriod, String? subSpecialPrice})
Creates a ProductInfo object.
ProductInfo.fromJson(String str)
Creates a ProductInfo object from a JSON string.
factory
ProductInfo.fromMap(Map map)
factory

Properties

currency String?
Currency used to pay for a product.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
microsPrice int?
Product price in micro unit, which equals the actual product price multiplied by 1,000,000.
getter/setter pair
offerUsedStatus int?
Checks whether a user has enjoyed a promotion in a subscription group.
getter/setter pair
originalLocalPrice String?
Original price of a product, including the currency symbol and actual price of the product.
getter/setter pair
originalMicroPrice int?
Original price of a product in micro unit, which equals the original product price multiplied by 1,000,000.
getter/setter pair
price String?
Displayed price of a product, including the currency symbol and actual price of the product.
getter/setter pair
priceType int?
Product type.
getter/setter pair
productDesc String?
Description of a product, which is set during product information configuration.
getter/setter pair
productId String?
Product ID.
getter/setter pair
productName String?
Product name, which is set during product information configuration.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
Product status.
getter/setter pair
subFreeTrialPeriod String?
Free trial period of a subscription.
getter/setter pair
subGroupId String?
ID of the subscription group to which a subscription belongs.
getter/setter pair
subGroupTitle String?
Description of the subscription group to which a subscription belongs.
getter/setter pair
subPeriod String?
Unit of a subscription period, which complies with the ISO 8601 standard.
getter/setter pair
subProductLevel int?
Level of a subscription in its subscription group.
getter/setter pair
subSpecialPeriod String?
Promotion period unit of a subscription, which complies with the ISO 8601 standard.
getter/setter pair
subSpecialPeriodCycles int?
Number of promotion periods of a subscription. It is set when you set the promotional price of a subscription in AppGallery Connect.
getter/setter pair
subSpecialPrice String?
Promotional price of a subscription, including the currency symbol and actual price.
getter/setter pair
subSpecialPriceMicros int?
Promotional price of a subscription in micro unit, which equals the actual promotional subscription price multiplied by 1,000,000.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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