StickerPack class
A Sticker Pack -- group of stickers that are gated behind Nitro.
- Inheritance
-
- Object
- SnowflakeEntity<
StickerPack> - StickerPack
Constructors
-
StickerPack({required Snowflake id, required GlobalStickerManager manager, required List<
GlobalSticker> stickers, required String name, required Snowflake skuId, required Snowflake? coverStickerId, required String description, required Snowflake? bannerAssetId}) - A Sticker Pack -- group of stickers that are gated behind Nitro.
Properties
-
Id of the sticker pack's banner image
final
- coverStickerId → Snowflake?
-
Id of a sticker in the pack which is shown as the pack's icon
final
- description → String
-
Description of the sticker pack
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
- manager → GlobalStickerManager
-
Global sticker manager
final
- name → String
-
Name of the sticker pack
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skuId → Snowflake
-
Id of the pack's SKU
final
-
stickers
→ List<
GlobalSticker> -
The stickers in the pack
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
fetch(
) → Future< StickerPack> -
Fetch this entity from the API.
override
-
get(
) → Future< StickerPack> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited