EmojiReactionSummary.fromJson constructor

EmojiReactionSummary.fromJson(
  1. Map json_
)

Implementation

EmojiReactionSummary.fromJson(core.Map json_)
    : this(
        emoji: json_.containsKey('emoji')
            ? Emoji.fromJson(
                json_['emoji'] as core.Map<core.String, core.dynamic>)
            : null,
        reactionCount: json_.containsKey('reactionCount')
            ? json_['reactionCount'] as core.int
            : null,
      );