LCOV - code coverage report
Current view: top level - src/utils/platform - platform_io.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 2 6 33.3 %
Date: 2023-03-02 15:31:08 Functions: 0 0 -

          Line data    Source code
       1             : // ignore_for_file: public_member_api_docs
       2             : 
       3             : import 'dart:io' as io;
       4             : 
       5             : import 'platform.dart';
       6             : 
       7           2 : PlatformType get currentPlatform {
       8           2 :   if (io.Platform.isWindows) return PlatformType.windows;
       9           0 :   if (io.Platform.isFuchsia) return PlatformType.fuchsia;
      10           0 :   if (io.Platform.isMacOS) return PlatformType.macOS;
      11           0 :   if (io.Platform.isLinux) return PlatformType.linux;
      12           0 :   if (io.Platform.isIOS) return PlatformType.iOS;
      13             :   return PlatformType.android;
      14             : }

Generated by: LCOV version