toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'premiumPaymentOption',
if (extra != null) '@extra': extra,
'currency': currency,
'amount': amount,
'discount_percentage': discount_percentage,
'month_count': month_count,
'store_product_id': store_product_id,
'payment_link': payment_link
};
}