File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/content_management/bloc/headlines_filter Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import 'package:bloc/bloc.dart' ;
22import 'package:core/core.dart' ;
33import 'package:equatable/equatable.dart' ;
4+ import 'package:flutter_news_app_web_dashboard_full_source_code/content_management/models/breaking_news_filter_status.dart' ;
45
56part 'headlines_filter_event.dart' ;
67part 'headlines_filter_state.dart' ;
@@ -78,8 +79,8 @@ class HeadlinesFilterBloc
7879
7980 /// Handles changes to the breaking news filter.
8081 ///
81- /// This updates the `isBreaking` status for the filter, which can be
82- /// `true` (breaking only), `false` (non-breaking only), or `null` (all) .
82+ /// This updates the `isBreaking` status for the filter using the
83+ /// [BreakingNewsFilterStatus] enum .
8384 void _onHeadlinesBreakingNewsFilterChanged (
8485 HeadlinesBreakingNewsFilterChanged event,
8586 Emitter <HeadlinesFilterState > emit,
You can’t perform that action at this time.
0 commit comments