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