LCOV - code coverage report
Current view: top level - lib/challenges/models - challenges_state.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 5 40.0 %
Date: 2022-03-03 12:16:40 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:fast_immutable_collections/fast_immutable_collections.dart';
       2             : import 'package:freezed_annotation/freezed_annotation.dart';
       3             : import 'package:redfire/types.dart';
       4             : 
       5             : import 'challenge_model.dart';
       6             : 
       7             : part 'challenges_state.freezed.dart';
       8             : part 'challenges_state.g.dart';
       9             : 
      10             : @freezed
      11             : class ChallengesState with _$ChallengesState, ReduxState {
      12             :   static const String className = 'ChallengesState';
      13             : 
      14           5 :   const ChallengesState._();
      15             :   const factory ChallengesState(
      16             :       {ChallengeModel? selected,
      17             :       required ISet<ChallengeModel> all}) = _ChallengesState;
      18             : 
      19           0 :   factory ChallengesState.fromJson(JsonMap json) =>
      20           0 :       _$ChallengesStateFromJson(json);
      21             : 
      22          15 :   factory ChallengesState.init() => ChallengesState(all: ISet());
      23             : 
      24           0 :   @override
      25             :   String get typeName => className;
      26             : }

Generated by: LCOV version 1.13