Initial commit

This commit is contained in:
2025-07-13 14:01:29 +03:00
commit 0eaf91561a
188 changed files with 11616 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
class Reaction {
final String type;
final int count;
Reaction({required this.type, required this.count});
factory Reaction.fromJson(Map<String, dynamic> json) {
return Reaction(
type: json['type'] as String? ?? '',
count: json['count'] as int? ?? 0,
);
}
}
class UserReaction {
final String? reactionType;
UserReaction({this.reactionType});
factory UserReaction.fromJson(Map<String, dynamic> json) {
return UserReaction(
reactionType: json['type'] as String?,
);
}
}