toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'paymentReceipt',
if (extra != null) '@extra': extra,
'title': title,
'description': description,
'photo': photo,
'date': date,
'seller_bot_user_id': seller_bot_user_id,
'payment_provider_user_id': payment_provider_user_id,
'invoice': invoice,
'order_info': order_info,
'shipping_option': shipping_option,
'credentials_title': credentials_title,
'tip_amount': tip_amount
};
}