GooglePlayProductDetails class

The class represents the information of a product as registered in at Google Play store front.

Properties

currencyCode String
The currency code for the price of the product. Based on the price specified in the App Store Connect or Sku in Google Play console based on the platform.
finalinherited
currencySymbol String
The currency symbol for the locale, e.g. $ for US locale.
finalinherited
description String
The description of the product.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The identifier of the product.
finalinherited
offerToken String?
The offerToken of the subscription this GooglePlayProductDetails object was contructed for, or null if it was not a subscription.
no setter
price String
The price of the product, formatted with currency symbol ("$0.99").
finalinherited
productDetails ProductDetailsWrapper
Points back to the ProductDetailsWrapper object that was used to generate this GooglePlayProductDetails object.
final
rawPrice double
The unformatted price of the product, specified in the App Store Connect or Sku in Google Play console based on the platform. The currency unit for this value can be found in the currencyCode property. The value always describes full units of the currency. (e.g. 2.45 in the case of $2.45)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionIndex int?
The index pointing to the SubscriptionOfferDetailsWrapper this GooglePlayProductDetails object was contructed for, or null if it was not a subscription.
final
title String
The title of the product.
finalinherited

Methods

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

Operators

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

Static Methods

fromProductDetails(ProductDetailsWrapper productDetails) List<GooglePlayProductDetails>
Generates a list of GooglePlayProductDetails based on an Android ProductDetailsWrapper object.