diff --git a/lib/modules.dart b/lib/modules.dart index 688f05f8..b84ba8ba 100644 --- a/lib/modules.dart +++ b/lib/modules.dart @@ -69,7 +69,7 @@ class IAPItem { signatureAndroid = json['signatureAndroid'] as String, iconUrl = json['iconUrl'] as String, originalJson = json['originalJson'] as String, - originalPrice = json['originalPrice'] as String, + originalPrice = json['originalPrice'].toString(), discountsIOS = _extractDiscountIOS(json['discounts']); /// wow, i find if i want to save a IAPItem, there is not "toJson" to cast it into String...