toJson method

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

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      'id': id.toString(),
      'model_custom_emoji_id': modelCustomEmojiId.toString(),
      'symbol_custom_emoji_id': symbolCustomEmojiId.toString(),
      'light_theme_accent_color': lightThemeAccentColor,
      'light_theme_colors': lightThemeColors.map((item) => item).toList(),
      'dark_theme_accent_color': darkThemeAccentColor,
      'dark_theme_colors': darkThemeColors.map((item) => item).toList(),
      '@type': constructor,
    };