LCOV - code coverage report
Current view: top level - writer - device_size_writer.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2021-10-19 10:36:54 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:widgetbook_generator/writer/code_writer.dart';
       2             : import 'package:widgetbook_models/widgetbook_models.dart';
       3             : 
       4             : class DeviceSizeWriter extends CodeWriter<DeviceSize> {
       5           1 :   @override
       6             :   String write(DeviceSize type) {
       7             :     return '''
       8             : $DeviceSize(
       9           1 :   width: ${type.width},
      10           1 :   height: ${type.height},
      11             : )
      12           1 : ''';
      13             :   }
      14             : }

Generated by: LCOV version 1.15