toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xac21d3ce",
"peer": peer,
"msgId": msgId,
"date": date.toIso8601String(),
"actor": actor,
"oldReactions": oldReactions,
"newReactions": newReactions,
"qts": qts,
};
// Finished toJson.
return returnValue;
}