StickerType enum
A class that represents the type of a sticker.
Currently, there are three types of stickers:
- Regular stickers
- Mask stickers
- Custom emoji stickers
Constructors
- StickerType(String type)
-
Constructs a new StickerType.
const
Values
- regular → const StickerType
-
A regular sticker.
const StickerType("regular")
- mask → const StickerType
-
A sticker that is meant to be used as a mask.
const StickerType("mask")
- customEmoji → const StickerType
-
A sticker that is meant to be used as a custom emoji.
const StickerType("custom_emoji")
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts this StickerType to a String.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String type) → StickerType - Constructs a new StickerType from a String.
Constants
-
values
→ const List<
StickerType> - A constant List of the values in this enum, in order of their declaration.