MastodonAnnouncementReaction class
Reaction to an announcement.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- MastodonAnnouncementReaction({required String name, required int count, required bool me, String? url, String? staticUrl})
-
const
-
MastodonAnnouncementReaction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- count → int
-
Total count of this reaction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- me → bool
-
Whether the authenticated user has added this reaction.
final
- name → String
-
Emoji name (Unicode emoji or custom emoji shortcode).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- staticUrl → String?
-
Static image URL if this is a custom emoji.
final
- url → String?
-
Image URL if this is a custom emoji.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serializes to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited