File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -36,20 +36,20 @@ final class HeadlinesFeedRefreshRequested extends HeadlinesFeedEvent {}
36
36
final class HeadlinesFeedFilterChanged extends HeadlinesFeedEvent {
37
37
/// {@macro headlines_feed_filter_changed}
38
38
const HeadlinesFeedFilterChanged ({
39
- this .category,
40
- this .source,
41
- this .eventCountry,
39
+ this .categories, // Changed from category
40
+ this .sources, // Changed from source
41
+ this .eventCountries, // Changed from eventCountry
42
42
});
43
43
44
- /// The selected category filter .
45
- final String ? category ;
44
+ /// The list of selected category filters .
45
+ final List < Category > ? categories ;
46
46
47
- /// The selected source filter .
48
- final String ? source ;
47
+ /// The list of selected source filters .
48
+ final List < Source > ? sources ;
49
49
50
- /// The selected event country filter .
51
- final String ? eventCountry ;
50
+ /// The list of selected event country filters .
51
+ final List < Country > ? eventCountries ;
52
52
53
53
@override
54
- List <Object ?> get props => [category, source, eventCountry ];
54
+ List <Object ?> get props => [categories, sources, eventCountries ];
55
55
}
You can’t perform that action at this time.
0 commit comments