toJson method

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

Converts this object to TDLib JSON.

Implementation

@override
Map<String, dynamic> toJson() => {
  '@type': CONSTRUCTOR,
  'id': id,
  'built_in_accent_color_id': builtInAccentColorId,
  'light_theme_colors': lightThemeColors,
  'dark_theme_colors': darkThemeColors,
  'min_channel_chat_boost_level': minChannelChatBoostLevel,
};