ReactionCount class

Represents a reaction added to a message along with the number of times it was added.

Constructors

ReactionCount({required ReactionType type, required int totalCount})
Creates a new instance of ReactionCount.
const
ReactionCount.fromJson(Map<String, dynamic> json)
Creates a ReactionCount object from JSON object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalCount int
Number of times the reaction was added.
final
type ReactionType
Type of the reaction.
final

Methods

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

Operators

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