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