ReactionTypeEmoji class

The reaction is based on an emoji.

Implemented types

Constructors

ReactionTypeEmoji({required String emoji})
Constructs a ReactionTypeEmoji object
const
ReactionTypeEmoji.fromJson(Map<String, dynamic> json)
Creates a ReactionTypeEmoji object from JSON object
factory

Properties

emoji String
The reaction emoji.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ReactionTypeType
Type of the reaction, always “emoji”
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a ReactionTypeEmoji object to JSON object
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

allowedEmojis → const List<String>
Currently allowed emojis.