StickerItem class

Represents a sticker item that can be displayed.

A sticker can be either an emoji string or an image/GIF path.

Constructors

StickerItem.emoji(String value)
Creates a sticker item from an emoji string.
StickerItem.image(String value)
Creates a sticker item from an image/GIF path.

Properties

hashCode int
The hash code for this object.
no setterinherited
isImage bool
Whether this sticker is an image/GIF (true) or an emoji (false).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The value of the sticker.
final

Methods

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

Operators

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