StickerSet class

This object represents a sticker set.

Constructors

StickerSet({required String name, required String title, required String stickerType, required bool isAnimated, required bool isVideo, required List<Sticker> stickers, PhotoSize? thumb})
Basic constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
isAnimated bool
True, if the sticker set contains animated stickers
getter/setter pair
isVideo bool
True, if the sticker set contains video stickers
getter/setter pair
name String
Sticker set name
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stickers List<Sticker>
List of all set stickers
getter/setter pair
stickerType String
Type of stickers in the set, currently one of “regular”, “mask”, “custom_emoji”
getter/setter pair
thumb PhotoSize?
Optional. Sticker set thumbnail in the .WEBP, .TGS, or .WEBM format
getter/setter pair
title String
Sticker set title
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
Creates a json from the object
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) StickerSet
Creates a object from a json