toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x922e6e10",
"flags": flags,
"folderId": folderId,
"channelId": channelId,
"maxId": maxId,
"stillUnreadCount": stillUnreadCount,
"pts": pts,
};
// Finished toJson.
return returnValue;
}