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