Dart SDK
dart:io
Platform
isWindows
property
isWindows
Platform
Static properties
isLinux
isMacOS
isWindows
isAndroid
numberOfProcessors
pathSeparator
operatingSystem
localHostname
environment
executable
resolvedExecutable
script
executableArguments
packageRoot
version
Constructors
Platform
bool
isWindows
read-only
Returns true if the operating system is Windows.