ChatMessageReaction class
~english 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. ~end
~chinese 消息 Reaction 实体类,用于指定 Reaction 属性。 ~end
Constructors
- ChatMessageReaction.fromJson(Map map)
- 
          
            factory
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isAddedBySelf → bool
- 
  ~english
Whether the current user added this Reaction.
  final
- reaction → String
- 
  ~english
The Reaction content
~end
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- userCount → int
- 
  ~english
The count of the users who added this Reaction.
~end
  final
- 
  userList
  → List<String> 
- 
  ~english
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