Reaction class

Reaction data model

Constructors

Reaction({required String emoji, int count = 1, bool isUserReacted = false})
Creates a Reaction
const

Properties

count int
count of users who reacted with this emoji
final
emoji String
the emoji or reaction icon
final
hashCode int
The hash code for this object.
no setterinherited
isUserReacted bool
whether the current user has reacted with this emoji
final
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
toString() String
A string representation of this object.
inherited

Operators

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