toUnicodeEmoji method
Return the unicode emoji associated with this emoji.
Example:
final emoji = AnimatedEmojis.angry.toUnicodeEmoji();
print(emoji); // Prints ðŸ˜
Implementation
String toUnicodeEmoji() {
final codes = <int>[];
final parts = id.split('_');
for (final part in parts) {
codes.add(int.parse(part, radix: 16));
}
return String.fromCharCodes(codes);
}