isDesktop property

bool get isDesktop

是否为桌面端平台 (Windows/macOS/Linux)

Implementation

static bool get isDesktop {
  return isWindows || isMacOS || isLinux;
}