toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x8c88c923",
"flags": flags,
"channelId": channelId,
"topMsgId": topMsgId,
"fromId": fromId,
"action": action,
};
// Finished toJson.
return returnValue;
}