toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'availableReactions',
if (extra != null) '@extra': extra,
'top_reactions': top_reactions,
'recent_reactions': recent_reactions,
'popular_reactions': popular_reactions,
'allow_custom_emoji': allow_custom_emoji
};
}