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