toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x678c2e09",
"flags": flags,
"viaGiveaway": viaGiveaway,
"unclaimed": unclaimed,
"boostPeer": boostPeer,
"months": months,
"slug": slug,
"currency": currency,
"amount": amount,
"cryptoCurrency": cryptoCurrency,
"cryptoAmount": cryptoAmount,
};
// Finished toJson.
return returnValue;
}