toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'paymentForm',
if (extra != null) '@extra': extra,
'id': id,
'invoice': invoice,
'seller_bot_user_id': seller_bot_user_id,
'payment_provider_user_id': payment_provider_user_id,
'payment_provider': payment_provider,
'additional_payment_options': additional_payment_options,
'saved_order_info': saved_order_info,
'saved_credentials': saved_credentials,
'can_save_credentials': can_save_credentials,
'need_password': need_password,
'product_title': product_title,
'product_description': product_description,
'product_photo': product_photo
};
}