emojiChar method

String emojiChar()

It renders the emoji in base of the string name

Implementation

String emojiChar(){
  return this.toUpperCase().replaceAllMapped(RegExp(r'[A-Z]'),
          (match) => String.fromCharCode(match.group(0)!.codeUnitAt(0) + 127397)
  );
}