fromCode static method
Return the animated emoji that equals code
.
When no emoji is found an exeption is thrown.
// Will return a fiework emoji 🎆
AnimatedEmojis.fromCode('u1f386')
Implementation
static AnimatedEmojiData fromCode(String code) {
return values.firstWhere((element) => element.id == code);
}