toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'ff57708d',
'\$name': 'MessagesPreparedInlineMessage',
'queryId': queryId,
'result': result,
'peerTypes': peerTypes,
'cacheTime': cacheTime,
'users': users,
};
// Finished toJson.
return returnValue;
}