toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'level': level,
'story_per_day_count': storyPerDayCount,
'custom_emoji_reaction_count': customEmojiReactionCount,
'title_color_count': titleColorCount,
'profile_accent_color_count': profileAccentColorCount,
'can_set_profile_background_custom_emoji':
canSetProfileBackgroundCustomEmoji,
'accent_color_count': accentColorCount,
'can_set_background_custom_emoji': canSetBackgroundCustomEmoji,
'can_set_emoji_status': canSetEmojiStatus,
'chat_theme_background_count': chatThemeBackgroundCount,
'can_set_custom_background': canSetCustomBackground,
'can_set_custom_emoji_sticker_set': canSetCustomEmojiStickerSet,
'can_enable_automatic_translation': canEnableAutomaticTranslation,
'can_recognize_speech': canRecognizeSpeech,
'can_disable_sponsored_messages': canDisableSponsoredMessages,
'@type': constructor,
};