toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateNewPreCheckoutQuery',
if (extra != null) '@extra': extra,
'id': id,
'sender_user_id': sender_user_id,
'currency': currency,
'total_amount': total_amount,
'invoice_payload': invoice_payload,
'shipping_option_id': shipping_option_id,
'order_info': order_info
};
}