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