toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x15ad9f64",
"flags": flags,
"editMessage": editMessage,
"force": force,
"id": id,
"userId": userId,
"score": score,
};
// Finished toJson.
return returnValue;
}