fromCode static method

  1. @Deprecated('Use fromId instead.')
AnimatedEmojiData fromCode(
  1. String code
)

Return the animated emoji that equals code.

When no emoji is found a EmojiNotFoundException is thrown.

// Will return a firework emoji 🎆
AnimatedEmojis.fromCode('u1f386')

Implementation

@Deprecated('Use fromId instead.')
static AnimatedEmojiData fromCode(String code) => fromId(code);