ReactionCount class

Represents a count of reactions within the chat.

This class includes properties that encapsulate details of a reaction count, including the reaction, count, and a flag indicating if the current user has reacted.

Constructors

ReactionCount({String? reaction, int? count, bool? reactedByMe})
Constructs a new ReactionCount instance.
ReactionCount.fromMap(dynamic map)
Creates a new ReactionCount instance from a map.
factory

Properties

count ↔ int?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
reactedByMe ↔ bool?
getter/setter pair
reaction ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Generates a map representing the ReactionCount.
toString() → String
Generates a string representation of the ReactionCount.
override

Operators

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