isWindows property

bool isWindows
final

Whether the operating system is a version of Microsoft Windows.

Implementation

@pragma("vm:platform-const")
static final bool isWindows = (operatingSystem == "windows");