LCOV - code coverage report
Current view: top level - instances - device_type_instance.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2021-10-29 10:23:11 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:widgetbook_annotation/widgetbook_annotation.dart';
       2             : import 'package:widgetbook_generator/code_generators/instances/primary_instance.dart';
       3             : 
       4             : class DeviceTypeInstance extends PrimaryInstance<DeviceType> {
       5           2 :   DeviceTypeInstance({
       6             :     required DeviceType deviceType,
       7           2 :   }) : super(
       8             :           value: deviceType,
       9             :         );
      10             : 
      11           1 :   @override
      12             :   String toCode() {
      13           2 :     return value.toString();
      14             :   }
      15             : }

Generated by: LCOV version 1.15