toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'bd7f90ac',
'\$name': 'MessagesGetUnreadReactions',
'flags': flags,
'peer': peer,
'topMsgId': topMsgId,
'savedPeerId': savedPeerId,
'offsetId': offsetId,
'addOffset': addOffset,
'limit': limit,
'maxId': maxId,
'minId': minId,
};
// Finished toJson.
return returnValue;
}