v1.1.11+41
All checks were successful
Flutter Schmutter / build (push) Successful in 3m57s

- fixed: duplicates on the frontpage
- new: search by tag
This commit is contained in:
2025-06-10 08:39:55 +02:00
parent e945844151
commit c35308fbc1
11 changed files with 187 additions and 35 deletions

View File

@ -0,0 +1,15 @@
class Suggestion {
final String tag;
final int tagged;
final double score;
Suggestion({required this.tag, required this.tagged, required this.score});
factory Suggestion.fromJson(Map<String, dynamic> json) {
return Suggestion(
tag: json['tag'].toString(),
tagged: int.tryParse(json['tagged'].toString()) ?? 0,
score: (json['score'] as num).toDouble(),
);
}
}