toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'premiumStatePaymentOption',
if (extra != null) '@extra': extra,
'payment_option': payment_option,
'is_current': is_current,
'is_upgrade': is_upgrade,
'last_transaction_id': last_transaction_id
};
}