toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'message_id': messageId,
'unread_reactions': unreadReactions.map((item) => item.toJson()).toList(),
'unread_reaction_count': unreadReactionCount,
'@type': constructor,
};