DiscordStickerItem class

The smallest amount of data required to render a sticker. A partial sticker object.

Constructors

DiscordStickerItem({required DiscordSnowflake id, required String name, required int formatType})
DiscordStickerItem.fromJson(Map<String, dynamic> json)
factory

Properties

formatType int
type of sticker format
final
formatTypeAsEnum DiscordStickerFormatType
no setter
hashCode int
The hash code for this object.
no setterinherited
id DiscordSnowflake
id of the sticker
final
name String
name of the sticker
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

formatTypeEntry → const String
idEntry → const String
nameEntry → const String