unicodeToEmoji method
Implementation
String unicodeToEmoji(String text) {
return text.replaceAllMapped(RegExp(r'\\u\{([A-Fa-f0-9 ]+)\}'), (match) {
return String.fromCharCodes(
match.group(1)!.split(' ').map((hex) => int.parse(hex, radix: 16)));
});
}