LCOV - code coverage report
Current view: top level - core/platform_detector - platform_detector_io.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 6 66.7 %
Date: 2021-04-14 08:03:52 Functions: 0 0 -

          Line data    Source code
       1             : import 'dart:io';
       2             : 
       3             : import 'package:stream_feed_dart/src/core/platform_detector/platform_detector.dart';
       4             : 
       5             : /// Version running on native systems
       6           1 : PlatformType get currentPlatform {
       7           1 :   if (Platform.isWindows) return PlatformType.windows;
       8           1 :   if (Platform.isFuchsia) return PlatformType.fuchsia;
       9           1 :   if (Platform.isMacOS) return PlatformType.macOS;
      10           0 :   if (Platform.isLinux) return PlatformType.linux;
      11           0 :   if (Platform.isIOS) return PlatformType.ios;
      12             :   return PlatformType.android;
      13             : }

Generated by: LCOV version 1.15