mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
new: kill process
This commit is contained in:
@@ -9,6 +9,7 @@ enum PlatformType {
|
||||
macos,
|
||||
windows,
|
||||
web,
|
||||
fuchsia,
|
||||
unknown,
|
||||
}
|
||||
|
||||
@@ -31,6 +32,9 @@ final _p = () {
|
||||
if (Platform.isWindows) {
|
||||
return PlatformType.windows;
|
||||
}
|
||||
if (Platform.isFuchsia) {
|
||||
return PlatformType.fuchsia;
|
||||
}
|
||||
return PlatformType.unknown;
|
||||
}();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user