getCamelCaseName static method

String getCamelCaseName(
  1. String id
)

Returns the name of the emoji from the id in camel case.

For example: u1f603 => smileWithBigEyes

Throws a EmojiNotFoundException when no emoji with id exists.

See also:

Implementation

static String getCamelCaseName(String id) {
  final name = _idToNames[id];
  if (name == null) {
    throw EmojiNotFoundException('Could not find emoji with id $id');
  }
  return name;
}