toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'premiumState',
if (extra != null) '@extra': extra,
'state': state,
'payment_options': payment_options,
'animations': animations
};
}