LCOV - code coverage report
Current view: top level - problems/reducers - remove_problem_reducer.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2022-03-03 12:16:56 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:redux/redux.dart';
       2             : 
       3             : import '../../../actions.dart';
       4             : import '../../../types.dart';
       5             : import '../../navigation/models/problem_page_data.dart';
       6             : 
       7             : class RemoveProblemReducer<T extends RedFireState>
       8             :     extends TypedReducer<T, RemoveProblemAction> {
       9           1 :   RemoveProblemReducer()
      10           3 :       : super((state, action) => (state as dynamic).copyWith(
      11           3 :             problems: state.problems.remove(action.info),
      12           4 :             pages: state.pages.remove(ProblemPageData(action.info))) as T);
      13             : }

Generated by: LCOV version 1.13