toJson method

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

Converts a ReactionTypeCustomEmoji object to JSON object

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'type': type.value,
    'custom_emoji_id': customEmojiId,
  };
}