fetchStickerPack method
- Snowflake id
Implementation
Future<StickerPack> fetchStickerPack(Snowflake id) async {
final route = HttpRoute()..stickerPacks(id: id.toString());
final request = BasicRequest(route);
final response = (await client.httpHandler.executeSafe(request)).jsonBody as Map<String, Object?>;
final pack = parseStickerPack(response);
client.updateCacheWith(pack);
return pack;
}