LCOV - code coverage report
Current view: top level - lib/api/models - exercise_info.dart Coverage Total Hit
Test: lcov.info Lines: 0.0 % 13 0
Test Date: 2025-05-10 20:26:13 Functions: - 0 0

            Line data    Source code
       1              : class ExerciseInfo {
       2              :   final String id;
       3              :   final String name;
       4              :   final String type;
       5              :   final String category;
       6              :   final bool custom;
       7              :   final String description;
       8              :   final int difficultyLevel;
       9              :   final int reward;
      10              :   Map<String, dynamic>? exerciseData;
      11              : 
      12            0 :   ExerciseInfo({
      13              :     required this.id,
      14              :     required this.name,
      15              :     required this.type,
      16              :     required this.category,
      17              :     required this.custom,
      18              :     required this.description,
      19              :     required this.difficultyLevel,
      20              :     required this.reward,
      21              :     this.exerciseData,
      22              :   });
      23              : 
      24            0 :   factory ExerciseInfo.fromJson(Map<String, dynamic> json) {
      25            0 :     return ExerciseInfo(
      26            0 :       id: json['id'] as String,
      27            0 :       name: json['name'] as String,
      28            0 :       type: json['type'] as String,
      29            0 :       category: json['category'] as String,
      30            0 :       custom: json['custom'] as bool,
      31            0 :       description: json['description'] as String,
      32            0 :       difficultyLevel: json['difficultyLevel'] as int,
      33            0 :       reward: json['reward'] as int,
      34            0 :       exerciseData: json['exerciseData'] != null
      35            0 :           ? Map<String, dynamic>.from(json['exerciseData'])
      36              :           : null,
      37              :     );
      38              :   }
      39              : }
        

Generated by: LCOV version 2.3-1