isWindows property
bool
isWindows
Whether the operating system is a version of Windows.
Implementation
static bool get isWindows {
try {
return platform.isWindows;
} catch (e) {
return false;
}
}