LCOV - code coverage report
Current view: top level - src/bloc - loading_bloc_models.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 7 71.4 %
Date: 2021-09-23 09:51:56 Functions: 0 0 -

          Line data    Source code
       1             : part of 'loading_bloc.dart';
       2             : 
       3             : class _TagCountTuple {
       4           1 :   _TagCountTuple({
       5             :     required this.tag,
       6             :     required this.count,
       7             :     this.initial = true,
       8             :   });
       9             : 
      10             :   final String tag;
      11             :   final int count;
      12             : 
      13             :   ///TODO: come up with a better name
      14             :   bool initial;
      15             : 
      16           1 :   _TagCountTuple copyWith({
      17             :     required bool incrementCount,
      18             :   }) =>
      19           1 :       _TagCountTuple(
      20           4 :         count: incrementCount ? count + 1 : count - 1,
      21           1 :         tag: tag,
      22             :         initial: false,
      23             :       );
      24             : 
      25           0 :   @override
      26           0 :   String toString() => '{tag: $tag, count: $count}';
      27             : }

Generated by: LCOV version 1.15