toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x00f49ca0",
"newMessages": newMessages,
"newEncryptedMessages": newEncryptedMessages,
"otherUpdates": otherUpdates,
"chats": chats,
"users": users,
"state": state,
};
// Finished toJson.
return returnValue;
}