cleanup
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
import 'platform_detector.dart';
|
import 'platform_detector.dart';
|
||||||
|
|
||||||
//Override default method, to provide .io access
|
|
||||||
PlatformType get currentPlatform {
|
PlatformType get currentPlatform {
|
||||||
if (Platform.isWindows) return PlatformType.Windows;
|
if (Platform.isWindows) return PlatformType.Windows;
|
||||||
if (Platform.isFuchsia) return PlatformType.Fuchsia;
|
if (Platform.isFuchsia) return PlatformType.Fuchsia;
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
enum PlatformType {
|
|
||||||
Android,
|
|
||||||
Ios,
|
|
||||||
Web,
|
|
||||||
MacOS,
|
|
||||||
Windows,
|
|
||||||
Linux,
|
|
||||||
Fuchsia,
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user