toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x83d60fc2",
"flags": flags,
"comments": comments,
"replies": replies,
"repliesPts": repliesPts,
"recentRepliers": recentRepliers,
"channelId": channelId,
"maxId": maxId,
"readMaxId": readMaxId,
};
// Finished toJson.
return returnValue;
}