new: kill process

This commit is contained in:
lollipopkit
2023-08-07 15:01:58 +08:00
parent e686df45c9
commit 2142ae3e1c
14 changed files with 79 additions and 44 deletions

View File

@@ -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;
}();