This commit is contained in:
Ben Allfree authored and just-stuff-tm committed 2026-03-05 02:25:46 -05:00
1 parent f5154b0033
commit e6c9a3fea7
10 files changed
+533 -180

No files matched your search

+2 -1
View File
@@ -35,7 +35,8 @@ class PlatformInfo {
static bool get isDesktop => isMacOS || isWindows || isLinux;
/// Whether the current platform supports a native USB serial backend.
static bool get supportsNativeUsbSerial => isAndroid || isWindows || isLinux;
static bool get supportsNativeUsbSerial =>
isAndroid || isWindows || isLinux || isMacOS;
/// Whether the current browser supports the Web Serial backend.
static bool get supportsWebSerial => isWeb && isChrome;