toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '5f206716',
'\$name': 'MessagesMessagesSlice',
'flags': flags,
'inexact': inexact,
'count': count,
'nextRate': nextRate,
'offsetIdOffset': offsetIdOffset,
'searchFlood': searchFlood,
'messages': messages,
'topics': topics,
'chats': chats,
'users': users,
};
// Finished toJson.
return returnValue;
}