PremiumPaymentOption.fromJson constructor
Parse from a json
Implementation
factory PremiumPaymentOption.fromJson(Map<String, dynamic> json) =>
PremiumPaymentOption(
currency: json['currency'],
amount: json['amount'],
discountPercentage: json['discount_percentage'],
monthCount: json['month_count'],
storeProductId: json['store_product_id'],
paymentLink: json['payment_link'] == null
? null
: InternalLinkType.fromJson(json['payment_link']),
);