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

          Line data    Source code
       1             : import 'package:redux/redux.dart';
       2             : 
       3             : import '../../app_state.dart';
       4             : import '../actions/set_other_player_ids_action.dart';
       5             : 
       6             : class SetOtherPlayerIdsReducer
       7             :     extends TypedReducer<AppState, SetOtherPlayerIdsAction> {
       8           1 :   SetOtherPlayerIdsReducer()
       9           1 :       : super(
      10           4 :           (state, action) => state.copyWith.game(
      11           4 :               otherPlayerIds: state.game.otherPlayerIds.addAll(action.ids)),
      12             :         );
      13             : }

Generated by: LCOV version 1.13