info method
Get info for an emoji.
For example:
var parser = EmojiParser(); var emojiHeart = parser.info('heart'); print(emojiHeart); '{name: heart, full: :heart:, emoji: ❤️}'
Returns Emoji.None if not found.
Implementation
Emoji info(String name) {
return hasName(name) ? get(name) : Emoji.none;
}