toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"title": title,
"description": description,
"photo": photo?.toJson(),
"date": date,
"seller_bot_user_id": sellerBotUserId,
"payments_provider_user_id": paymentsProviderUserId,
"invoice": invoice.toJson(),
"order_info": orderInfo?.toJson(),
"shipping_option": shippingOption?.toJson(),
"credentials_title": credentialsTitle,
"tip_amount": tipAmount,
};
}