priceAmountMicros property

int priceAmountMicros

Returns the price for the payment cycle in micro-units, where 1,000,000 micro-units equal one unit of the currency.

Implementation

int get priceAmountMicros {
  if (googlePlayObj != null) {
    return googlePlayObj!.productDetails.oneTimePurchaseOfferDetails!.priceAmountMicros;
  }
  if (appStoreObj != null) {
    return (appStoreObj!.rawPrice * 1000000).toInt();
  }
  throw UnsupportedError("Store not supported");
}