toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'__typename': 'SubscriptionOfferIOS',
'displayPrice': displayPrice,
'id': id,
'paymentMode': paymentMode.toJson(),
'period': period.toJson(),
'periodCount': periodCount,
'price': price,
'type': type.toJson(),
};
}