LCOV - code coverage report
Current view: top level - navigation/reducers - remove_current_page_reducer.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 0 3 0.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             : /// Remove the current page from the stack, unless the stack is only one page
       7             : class RemoveCurrentPageReducer<T extends RedFireState>
       8             :     extends TypedReducer<T, RemoveCurrentPageAction> {
       9           0 :   RemoveCurrentPageReducer()
      10           0 :       : super((state, action) =>
      11           0 :             (state as dynamic).copyWith(pages: state.pages.removeLast()) as T);
      12             : }

Generated by: LCOV version 1.13