LCOV - code coverage report
Current view: top level - problems/reducers - add_problem_reducer.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 5 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             : 
       6             : class AddProblemReducer<T extends RedFireState>
       7             :     extends TypedReducer<T, AddProblemAction> {
       8           2 :   AddProblemReducer()
       9           2 :       : super(
      10           4 :           (state, action) => (state as dynamic).copyWith(
      11           6 :               problems: state.problems.add(action.info),
      12           8 :               pages: state.pages.add(ProblemPageData(action.info))) as T,
      13             :         );
      14             : }

Generated by: LCOV version 1.13