LCOV - code coverage report
Current view: top level - lib/tasks/models - tasks_state.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 4 50.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 'task_model.dart';
       6             : 
       7             : part 'tasks_state.freezed.dart';
       8             : part 'tasks_state.g.dart';
       9             : 
      10             : @freezed
      11             : class TasksState with _$TasksState, ReduxState {
      12             :   static const String className = 'TasksState';
      13             : 
      14           5 :   const TasksState._();
      15             :   const factory TasksState(
      16             :       {TaskModel? selected, required ISet<TaskModel> all}) = _TasksState;
      17             : 
      18           0 :   factory TasksState.fromJson(JsonMap json) => _$TasksStateFromJson(json);
      19             : 
      20          15 :   factory TasksState.init() => TasksState(all: ISet());
      21             : 
      22           0 :   @override
      23             :   String get typeName => className;
      24             : }

Generated by: LCOV version 1.13