DiscordStickerPack class
Constructors
-
DiscordStickerPack({required DiscordSnowflake id, required List<
DiscordSticker> stickers, required String name, required DiscordSnowflake skuId, DiscordSnowflake? coverStickerId, required String description, DiscordSnowflake? bannerAssetId}) -
DiscordStickerPack.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
id of the sticker pack's banner image
final
- coverStickerId → DiscordSnowflake?
-
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 → DiscordSnowflake
-
id of the sticker pack
final
- name → String
-
name of the sticker pack
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skuId → DiscordSnowflake
-
id of the pack's SKU
final
-
stickers
→ List<
DiscordSticker> -
the stickers in the pack
final
Methods
-
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
Constants
- coverStickerIdEntry → const String
- descriptionEntry → const String
- idEntry → const String
- nameEntry → const String
- skuIdEntry → const String
- stickersEntry → const String