toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x354a9b09",
"flags": flags,
"shippingAddressRequested": shippingAddressRequested,
"test": test,
"title": title,
"description": description,
"photo": photo,
"currency": currency,
"totalAmount": totalAmount,
"replyMarkup": replyMarkup,
};
// Finished toJson.
return returnValue;
}