Emoji.fromJson constructor

Emoji.fromJson(
  1. Map json_
)

Implementation

Emoji.fromJson(core.Map json_)
    : this(
        customEmoji: json_.containsKey('customEmoji')
            ? CustomEmoji.fromJson(
                json_['customEmoji'] as core.Map<core.String, core.dynamic>)
            : null,
        unicode: json_.containsKey('unicode')
            ? json_['unicode'] as core.String
            : null,
      );