getEmoji method Null safety
- 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));
}
Returns an Emoji
with given key
Future<Emoji> getEmoji(String key) {
if (key.isEmpty) throw InvalidParameterError();
return _int.api.send<Emoji>(EmojiGetRequest(key));
}