major update

This commit is contained in:
Fabian Freund
2025-03-03 15:15:05 +01:00
parent 200c82a442
commit 20bdc4df3e
103 changed files with 2664 additions and 783 deletions
@@ -26,6 +26,12 @@ extension ParseAtomLink on List<AtomLink> {
}
}
extension SelectFeedLink on List<FeedLink> {
FeedLink? getRelation(FeedLinkRelation relation) {
return firstWhereOrNull((link) => link.relation == relation);
}
}
extension ParseAtomCategory on List<AtomCategory> {
List<FeedCategory> toFeedCategories() {
return where((category) => category.term.isNotEmpty)