googlePlayPricingPhases property
List<PricingPhaseWrapper>
get
googlePlayPricingPhases
Make sure to check for the platform before calling this getter
Implementation
List<PricingPhaseWrapper> get googlePlayPricingPhases {
assert(productDetails is GooglePlayProductDetails);
final subIndex = (productDetails as GooglePlayProductDetails).subscriptionIndex;
if (subIndex == null) {
return [];
}
return (productDetails as GooglePlayProductDetails)
.productDetails
.subscriptionOfferDetails![subIndex]
.pricingPhases;
}