ChatMessageReaction class

The message Reaction instance class, which has the following attributes: Reaction: The message Reaction. UserCount: The count of users that added the Reaction. UserList: The list of users that added the Reaction. isAddedBySelf: Whether the current user added this Reaction.

Constructors

ChatMessageReaction.new({required String reaction, required int userCount, required bool isAddedBySelf, required List<String> userList})
ChatMessageReaction.fromJson(Map map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isAddedBySelf → bool
Whether the current user added this Reaction.
final
reaction → String
The Reaction content
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userCount → int
The count of the users who added this Reaction.
final
userList → List<String>
The list of users that added this Reaction
final

Methods

copyWith({String? reaction, int? userCount, bool? isAddedBySelf, List<String>? userList}) → ChatMessageReaction
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