DiscountIOS.fromJSON constructor
Create DiscountIOS from a Map that was previously JSON formatted
Implementation
DiscountIOS.fromJSON(Map<String, dynamic> json)
: identifier = json['identifier'] as String?,
type = json['type'] as String?,
numberOfPeriods = json['numberOfPeriods'] as String?,
price = json['price'] as double?,
localizedPrice = json['localizedPrice'] as String?,
paymentMode = json['paymentMode'] as String?,
subscriptionPeriod = json['subscriptionPeriod'] as String?;