isWindows property
final
Whether the operating system is a version of Microsoft Windows.
Implementation
@pragma("vm:platform-const")
static final bool isWindows = (_operatingSystem == "windows");
Whether the operating system is a version of Microsoft Windows.
@pragma("vm:platform-const")
static final bool isWindows = (_operatingSystem == "windows");