AppStoreProductDetails class

The class represents the information of a product as registered in the Apple AppStore.

Constructors

AppStoreProductDetails({required String id, required String title, required String description, required String price, required double rawPrice, required String currencyCode, required SKProductWrapper skProduct, required String currencySymbol = ''})
Creates a new AppStore specific product details object with the provided details.
AppStoreProductDetails.fromSKProduct(SKProductWrapper product)
Generate a AppStoreProductDetails object based on an iOS SKProductWrapper object.
factory

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
price String
The price of the product, formatted with currency symbol ("$0.99").
finalinherited
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
skProduct SKProductWrapper
Points back to the SKProductWrapper object that was used to generate this AppStoreProductDetails object.
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