StickerSet class
This object represents a sticker set.
Constructors
-
StickerSet({required String name, required String title, required StickerType stickerType, required List<
Sticker> stickers, PhotoSize? thumbnail}) -
Constructs a StickerSet object
const
-
StickerSet.fromJson(Map<
String, dynamic> json) -
Creates a StickerSet object from JSON object
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Sticker set name
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stickers
→ List<
Sticker> -
List of all set stickers
final
- stickerType → StickerType
-
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
final
- thumbnail → PhotoSize?
-
Optional. Sticker set thumbnail in the .WEBP or .TGS format
final
- title → String
-
Sticker set title
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns JSON-encodeable map of this object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited