getIdFromName static method

String? getIdFromName(
  1. String name
)

Return the id of the emoji from its camel case name.

For example: 'smileWithBigEyes' => 1f603.

Throws a EmojiNotFoundException when no emoji with name exists.

See also:

Implementation

static String? getIdFromName(String name) {
  return AnimatedEmojiDataUtil.getIdFromName(name);
}