toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'top_reactions': topReactions.map((item) => item.toJson()).toList(),
'recent_reactions': recentReactions.map((item) => item.toJson()).toList(),
'popular_reactions': popularReactions.map((item) => item.toJson()).toList(),
'allow_custom_emoji': allowCustomEmoji,
'are_tags': areTags,
'unavailability_reason': unavailabilityReason?.toJson(),
'@type': constructor,
};