toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x5f2d1df2",
"flags": flags,
"current": current,
"canPurchaseUpgrade": canPurchaseUpgrade,
"transaction": transaction,
"months": months,
"currency": currency,
"amount": amount,
"botUrl": botUrl,
"storeProduct": storeProduct,
};
// Finished toJson.
return returnValue;
}