getEmoji method Null safety

Future<Emoji> getEmoji(
  1. String key
)

Returns an Emoji with given key

Implementation

Future<Emoji> getEmoji(String key) {
  if (key.isEmpty) throw InvalidParameterError();
  return _int.api.send<Emoji>(EmojiGetRequest(key));
}