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