Rename NewsSource to Source now that it models every kind (review item 3)

The class and its file (lib/models/source.dart) follow the glossary term.
Persisted JSON keys are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
CedricandClaude Opus 5.5 committed 2026-10-16 16:03:25 +02:00
1 parent 1a3442ea02
commit a47ff28ed1
33 files changed
+119 -119

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
import 'news_source.dart';
import 'source.dart';
class Article {
const Article({
@@ -14,7 +14,7 @@ class Article {
final String title;
final String link;
final NewsSource source;
final Source source;
final DateTime? published;
/// Short plain-text teaser from the feed (description / summary).