toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'features': features.map((item) => item.toJson()).toList(),
  'min_profile_background_custom_emoji_boost_level':
      minProfileBackgroundCustomEmojiBoostLevel,
  'min_background_custom_emoji_boost_level':
      minBackgroundCustomEmojiBoostLevel,
  'min_emoji_status_boost_level': minEmojiStatusBoostLevel,
  'min_chat_theme_background_boost_level': minChatThemeBackgroundBoostLevel,
  'min_custom_background_boost_level': minCustomBackgroundBoostLevel,
  'min_custom_emoji_sticker_set_boost_level':
      minCustomEmojiStickerSetBoostLevel,
  'min_automatic_translation_boost_level': minAutomaticTranslationBoostLevel,
  'min_speech_recognition_boost_level': minSpeechRecognitionBoostLevel,
  'min_sponsored_message_disable_boost_level':
      minSponsoredMessageDisableBoostLevel,
  '@type': constructor,
};