SkuDetailsWrapper class

Dart wrapper around com.android.billingclient.api.SkuDetails.

Contains the details of an available product in Google Play Billing.

Annotations

Constructors

SkuDetailsWrapper({@required String description, @required String freeTrialPeriod, @required String introductoryPrice, @required String introductoryPriceMicros, @required String introductoryPriceCycles, @required String introductoryPricePeriod, @required String price, @required int priceAmountMicros, @required String priceCurrencyCode, @required String sku, @required String subscriptionPeriod, @required String title, @required SkuType type, @required bool isRewarded, @required String originalPrice, @required int originalPriceAmountMicros})
SkuDetailsWrapper.fromJson(Map map)
Constructs an instance of this from a key value map of data. [...]
factory

Properties

description String
final
freeTrialPeriod String
Trial period in ISO 8601 format.
final
hashCode int
The hash code for this object. [...]
read-only, override
introductoryPrice String
Introductory price, only applies to SkuType.subs. Formatted ("$0.99").
final
introductoryPriceCycles String
The number of billing perios that introductoryPrice is valid for ("2").
final
introductoryPriceMicros String
introductoryPrice in micro-units 990000
final
introductoryPricePeriod String
The billing period of introductoryPrice, in ISO 8601 format.
final
isRewarded bool
False if the product is paid.
final
originalPrice String
The original price that the user purchased this product for.
final
originalPriceAmountMicros int
originalPrice in micro-units ("990000").
final
price String
Formatted with currency symbol ("$0.99").
final
priceAmountMicros int
price in micro-units ("990000").
final
priceCurrencyCode String
price ISO 4217 currency code.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sku String
The product ID in Google Play Console.
final
subscriptionPeriod String
Applies to SkuType.subs, formatted in ISO 8601.
final
title String
final
type SkuType
The SkuType of the product.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override