priceCurrencySymbol property

String get priceCurrencySymbol

Currency symbol such as $ or €

Implementation

String get priceCurrencySymbol {
  if (googlePlayObj != null) {
    if (googlePlayObj!.currencySymbol.isEmpty) {
      return getCurrencySymbol(googlePlayObj!.currencyCode);
    }
    return googlePlayObj!.currencySymbol;
  }
  if (appStoreObj != null) {
    if(appStoreObj!.skProduct.priceLocale.currencySymbol.isEmpty){
      return getCurrencySymbol(appStoreObj!.skProduct.priceLocale.currencyCode);
    }
    return appStoreObj!.skProduct.priceLocale.currencySymbol;
  }
  throw UnsupportedError("Store not supported");
}