isWindows top-level property
bool
isWindows
Whether the current operating system is a version of Microsoft Windows.
Identified by operatingSystem being the string windows
.
Implementation
bool get isWindows => OperatingSystem.current.isWindows;