isWindows property
getter/setter pair
Whether the operating system is a version of Microsoft Windows.
Implementation
@pragma("vm:platform-const")
@pragma("vm:shared")
static bool isWindows = (operatingSystem == "windows");
Whether the operating system is a version of Microsoft Windows.
@pragma("vm:platform-const")
@pragma("vm:shared")
static bool isWindows = (operatingSystem == "windows");