IAPItem class Null safety

An item available for purchase from either the Google Play Store or iOS AppStore

Constructors

IAPItem.fromJSON(Map<String, dynamic> json)
Create IAPItem from a Map that was previously JSON formatted

Properties

currency String?
final
description String?
final
discountsIOS List<DiscountIOS>?
final
freeTrialPeriodAndroid String?
final
hashCode int
The hash code for this object.
read-onlyinherited
iconUrl String?
final
introductoryPrice String?
final
introductoryPriceCyclesAndroid int?
final
introductoryPriceNumberIOS String?
final
introductoryPriceNumberOfPeriodsIOS String?
final
introductoryPricePaymentModeIOS String?
final
introductoryPricePeriodAndroid String?
final
introductoryPriceSubscriptionPeriodIOS String?
final
localizedPrice String?
final
originalJson String?
final
originalPrice String
final
price String?
final
productId String?
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
signatureAndroid String?
final
subscriptionPeriodAndroid String?
android only
final
subscriptionPeriodNumberIOS String?
ios only
final
subscriptionPeriodUnitIOS String?
final
title String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
wow, i find if i want to save a IAPItem, there is not "toJson" to cast it into String... i'm sorry to see that... so,
toString() String
Return the contents of this class as a string
override

Operators

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