ChatMessageReaction class Null safety
Describes an event where a user has clicked or tapped a reaction button, whether to add or remove it.
- Annotations
Constructors
- ChatMessageReaction({@JsonKey(name: 'fromId') required ParticipantId fromParticipantId, @Default(false) bool seen, required ChatMessage message, required String reaction, required String skinTone})
-
constfactory
-
ChatMessageReaction.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ChatMessageReactionCopyWith<
ChatMessageReaction> -
read-onlyinherited
- fromParticipantId → ParticipantId
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- message → ChatMessage
-
The chat message as it looked BEFORE the reaction was added or removed.
read-onlyinherited
- reaction → String
-
The reaction
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- seen → bool
-
read-onlyinherited
- skinTone → String
-
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited