toJson method

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

Implementation

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