EmojiReaction class

Annotations
  • @freezed

Constructors

EmojiReaction({required String name, required int count, @JsonKey(name: 'me') bool? isReacted, String? url, String? staticUrl})
const
factory
EmojiReaction.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $EmojiReactionCopyWith<EmojiReaction>
no setterinherited
count int
The total number of users who have added this reaction.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isReacted bool?
If there is a currently authorized user: Have you added this reaction?
no setterinherited
name String
The emoji used for the reaction. Either a unicode emoji, or a custom emoji’s shortcode.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticUrl String?
If the reaction is a custom emoji: A link to a non-animated version of the custom emoji.
no setterinherited
url String?
If the reaction is a custom emoji: A link to the custom emoji.
no setterinherited

Methods

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

Operators

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