getEmojiCategory method Null safety
- int categoryId
Return an EmojiCategory
with given categoryId
Implementation
Future<EmojiCategory> getEmojiCategory(int categoryId) {
if (categoryId <= 0) throw InvalidParameterError();
return _int.api.send<EmojiCategory>(EmojiCategoryGetRequest(categoryId));
}